From b5c4dba2312b5aff7903a04d0df6d2f029b4e124 Mon Sep 17 00:00:00 2001 From: Vincent Thiberville Date: Tue, 30 Jul 2024 23:57:25 +0200 Subject: [PATCH] doc: update memory benchmarks --- benches/README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/benches/README.md b/benches/README.md index c7eaab8c..addb7f8f 100644 --- a/benches/README.md +++ b/benches/README.md @@ -64,15 +64,19 @@ A few observations: ## Memory usage: -| rules set | boreal | yara | -| -------------- | ---- | ---- | -| orion | 12.8 MB | 12.3MB | -| atr | 12.6 MB | 14.0MB | -| reversinglabs | 14.9 MB | 15.8MB | -| panopticon | 10.9 MB | 13.4MB | -| c0ffee | 22.9 MB | 200MB | -| icewater | 77.9 MB | 55.1MB | -| signature-base | 78.9 MB | 27.8MB | +In `boreal`, different compiler profiles can be used, with one prioritizing scanning speed, +and the other one prioritzing memory usage. Those two profiles are presented separately to +show the memory consumption impact. + +| rules set | boreal (speed) | boreal (memory) | yara | +| -------------- | -------------- | --------------- | ------- | +| orion | 10.9 MB | 9.71 MB | 14.8 MB | +| atr | 10.7 MB | 8.53 MB | 15.7 MB | +| reversinglabs | 13.6 MB | 12.2 MB | 17.7 MB | +| panopticon | 9.07 MB | 7.71 MB | 15.3 MB | +| c0ffee | 16.7 MB | 13.4 MB | 198 MB | +| icewater | 61.6 MB | 55.6 MB | 56.3 MB | +| signature-base | 70.3 MB | 44.2 MB | 35.5 MB | Note that optimizing memory usage has not been a priority for the moment, as the focus was on optimizing performances. However, the next release will provide a way to proritize