Skip to content

Stats

The figures of each release of exav, the latest one’s first. Each heading is a link to its section.

4.5×
faster than clamscan, in wall time
1.48 GB
peak memory scanning the files, against 1.39 GB for clamscan
0.8 s
to start from a prebuilt database
431k
lines of Rust in the repository, 1.3M with the dependencies
130
third-party crates in the exav binary
64
unsafe in exav's code
6,854
tests, and 50 fuzz targets
126
formats, 84 of them shown by the viewer
17.7 MB
the exav binary on Linux x86_64

Each release’s exav and clamscan scan the same files with the same signatures, each as one process, with the files in the page cache. The time to load the signatures is measured on its own and taken off, so the figures are the time to scan. They are measured again at each release, every release in the same run, so they compare with each other but not with those of an earlier run. The setup is below.

  • exav
  • clamscan 1.4.3, 1.0×
0.0×2.0×4.0×6.0×exav, 0.0.1: ≈1.1×exav, 0.0.2: 4.3×exav, 0.0.3: 4.5×4.5×0.0.10.0.20.0.3
How many times faster than clamscan 1.4.3 each release scans the 5,820 files, in wall time
EngineScanFiles/sMB/sFaster than clamscanDetections
clamscan 1.4.31260 s4.61.31,355
exav 0.0.1≈ 1129 s≈ 5.2≈ 1.5≈ 1.1×
exav 0.0.2290 s20.05.84.3×1,475
exav 0.0.3283 s20.66.04.5×1,476

exav 0.0.1 did not finish: stopped by SIGKILL after 5,183 of 5,820 files; its figures (≈) are its time on 1.40 GB, scaled to the 1.70 GB of all of them.

The most resident memory the process held, at three points:

  • Scanning the files: over the whole run of the speed figures, one process that loads the raw signatures, then scans every file one after the other.
  • Signatures loaded: a process that loads the raw signatures and scans one small file, about what a daemon holds when it is idle.
  • Loaded from the .exavdb: the same, from the prebuilt database.
  • Scanning the files
  • clamscan, scanning the files: 1.39 GB
0.000.501.001.502.00Scanning the files, 0.0.2: 1.49Scanning the files, 0.0.3: 1.481.480.0.10.0.20.0.3
Peak resident memory of exav, in GB, against clamscan's (dashed)
EngineScanning the filesSignatures loadedLoaded from the .exavdb
clamscan 1.4.31.39 GB
exav 0.0.1did not finish
exav 0.0.21.49 GB
exav 0.0.31.48 GB

--build-db reads the raw signatures freshclam keeps, builds exav’s index and writes it to a prebuilt database (.exavdb); each release builds its own, in its own format. Starting from it is the time to load it and scan one small file.

  • Build the .exavdb
  • Start from the .exavdb
0.020.040.060.0Build the .exavdb, 0.0.1: 43.7Build the .exavdb, 0.0.2: 11.6Build the .exavdb, 0.0.3: 10.5Start from the .exavdb, 0.0.1: 7.8Start from the .exavdb, 0.0.2: 0.8Start from the .exavdb, 0.0.3: 0.810.50.80.0.10.0.20.0.3
Seconds to build the .exavdb from the raw signatures, and to start from it and scan one small file
EngineBuild the .exavdbStart from the .exavdb
exav 0.0.143.7 s7.8 s
exav 0.0.211.6 s0.8 s
exav 0.0.310.5 s0.8 s

Lines that hold code, blank lines and comments left out. Tests are the integration tests, the benchmarks, the fuzz targets and the #[cfg(test)] modules; other programs are the examples and the tools. Dependencies are the crates the exav binary is built from for Linux x86_64 with its default features, without their tests and build scripts.

  • Code
  • Tests
  • Other programs
  • Vendored
  • Dependencies
0500k1M1.5M647k130k887k236k149k863k755k0.0.11.1M0.0.21.3M0.0.3
Lines of Rust in each release, blank lines and comments left out
ReleaseCodeTestsOther programsVendoredIn the repositoryDependenciesTotal
0.0.173,68431,8122,4900107,986647,463755,449
0.0.2129,96666,7953,1260199,887887,2281,087,115
0.0.3236,188149,0803,57441,918430,760863,0741,293,834

The crates of the exav binary are those it is built from for Linux x86_64 with its default features, procedural macros left out; the Dependencies page describes them. All third-party crates are those of everything published, the workspace and the crates of the two npm packages, for every system and feature, those of the tests and tools included. The npm packages the viewer works with are all optional.

  • Crates in the exav binary
  • Named by exav's crates
  • All third-party crates
0100200300400Crates in the exav binary, 0.0.1: 139Crates in the exav binary, 0.0.2: 148Crates in the exav binary, 0.0.3: 130Named by exav's crates, 0.0.1: 59Named by exav's crates, 0.0.2: 69Named by exav's crates, 0.0.3: 58All third-party crates, 0.0.1: 260All third-party crates, 0.0.2: 258All third-party crates, 0.0.3: 296296130580.0.10.0.20.0.3
Third-party crates: those of the exav binary, those exav's crates name, and every one of what is published
ReleaseCrates in exavNamed by exav's cratesAll third-party cratesnpm packages of the viewer
0.0.113959260
0.0.2148692580 required, 6 optional
0.0.3130582960 required, 6 optional

The unsafe keywords (blocks, functions, implementations) in exav’s code and in the crates it vendors, and in the third-party crates the exav and exav-unpack binaries are each built from (for Linux x86_64, with the features the binary needs, their own tests left out). The Dependencies page says where exav uses it.

  • Code
  • Vendored
020406080Code, 0.0.1: 39Code, 0.0.2: 55Code, 0.0.3: 64Vendored, 0.0.1: 0Vendored, 0.0.2: 0Vendored, 0.0.3: 76470.0.10.0.20.0.3
unsafe keywords in exav's code and in the crates it vendors
  • Crates of exav
  • Crates of exav-unpack
02k4k6kCrates of exav, 0.0.1: 5.2kCrates of exav, 0.0.2: 5.4kCrates of exav, 0.0.3: 4.4kCrates of exav-unpack, 0.0.1: 2.5kCrates of exav-unpack, 0.0.2: 3.1kCrates of exav-unpack, 0.0.3: 2.1k4.4k2.1k0.0.10.0.20.0.3
unsafe keywords in the third-party crates each binary is built from
ReleaseCodeVendoredCrates of exavCrates of exav-unpack
0.0.13905,244, in 83 of 139 crates2,506, in 46 of 80 crates
0.0.25505,394, in 83 of 148 crates3,073, in 46 of 83 crates
0.0.36474,379, in 73 of 130 crates2,123, in 35 of 61 crates

Rust tests are the #[test] functions; JavaScript tests are run by Vitest, end-to-end tests by Playwright in a browser. Each fuzz target is a program the nightly fuzzing runs.

  • Rust tests
  • JavaScript tests
  • End-to-end tests
02k4k6k8kRust tests, 0.0.1: 1.4kRust tests, 0.0.2: 2.7kRust tests, 0.0.3: 5.6kJavaScript tests, 0.0.1: 5JavaScript tests, 0.0.2: 309JavaScript tests, 0.0.3: 993End-to-end tests, 0.0.1: 22End-to-end tests, 0.0.2: 98End-to-end tests, 0.0.3: 2945.6k9932940.0.10.0.20.0.3
Tests in each release
0204060Fuzz targets, 0.0.1: 13Fuzz targets, 0.0.2: 26Fuzz targets, 0.0.3: 50500.0.10.0.20.0.3
Fuzz targets in each release
ReleaseRustJavaScriptEnd-to-endFuzz targets
0.0.11,43252213
0.0.22,7443099826
0.0.35,56799329450

The formats of the format registry: all those exav knows, those the extractor takes apart, and those the viewer shows. The registry came with 0.0.3; the releases before it are counted from their code against it.

  • Known
  • Extracted
  • Shown by the viewer
050100150Known, 0.0.1: 93Known, 0.0.2: 105Known, 0.0.3: 126Extracted, 0.0.1: 79Extracted, 0.0.2: 81Extracted, 0.0.3: 88Shown by the viewer, 0.0.1: 0Shown by the viewer, 0.0.2: 24Shown by the viewer, 0.0.3: 8412688840.0.10.0.20.0.3
Formats of the format registry
ReleaseKnownExtractedShown by the viewer
0.0.1 *93790
0.0.2 *1058124
0.0.31268884

* Counted from the code of 0.0.1 and 0.0.2, against the registry of 0.0.3: the entries for which it had an extractor reader, a scanner type, or a viewer extension.

The binaries attached to each GitHub release, unpacked.

  • exav
  • exav-grep
  • exav-imagehash
  • exav-pe-emu
  • exav-qr
  • exav-unpack
0.010.020.030.0exav, 0.0.1: 20.8exav, 0.0.2: 20.1exav, 0.0.3: 17.7exav-grep, 0.0.2: 8.7exav-grep, 0.0.3: 9.2exav-imagehash, 0.0.2: 3.1exav-imagehash, 0.0.3: 2.6exav-pe-emu, 0.0.2: 1.3exav-pe-emu, 0.0.3: 1.3exav-qr, 0.0.3: 11.4exav-unpack, 0.0.2: 5.8exav-unpack, 0.0.3: 5.717.711.49.25.72.61.30.0.10.0.20.0.3
Size of each binary for Linux x86_64, in MB
0.0.3Linux x86_64Linux arm64macOS x86_64macOS arm64Windows x86_64
exav17.7 MB16.0 MB14.8 MB16.0 MB
exav-grep9.2 MB8.3 MB7.5 MB8.4 MB
exav-imagehash2.6 MB2.4 MB2.1 MB2.1 MB
exav-pe-emu1.3 MB1.3 MB1.1 MB0.9 MB
exav-qr11.4 MB10.2 MB9.3 MB10.3 MB
exav-unpack5.7 MB5.3 MB4.8 MB5.2 MB

The WASI module of exav 0.0.3 (wasm32-wasip1) is 12.5 MB.

The .wasm files of each npm package, as published.

  • @exav/unpack-wasm
  • @exav/viewer
0.010.020.030.0@exav/unpack-wasm, 0.0.1: 1.6@exav/unpack-wasm, 0.0.2: 2.2@exav/unpack-wasm, 0.0.3: 2.3@exav/viewer, 0.0.2: 12.3@exav/viewer, 0.0.3: 23.923.92.30.0.10.0.20.0.3
WebAssembly in each npm package, all .wasm files together, in MB
0.0.3FileSize
@exav/unpack-wasmpkg/exav_unpack_wasm_bg.wasm2.3 MB
@exav/viewerassets/pdfjs/absent.wasm0.0 MB
@exav/viewerdist/frame/app/docx_parser_bg.wasm2.2 MB
@exav/viewerdist/frame/app/exav-viewer/pdfjs/6.4.299/wasm-59003dc790/jbig2.wasm0.0 MB
@exav/viewerdist/frame/app/exav-viewer/pdfjs/6.4.299/wasm-59003dc790/openjpeg.wasm0.0 MB
@exav/viewerdist/frame/app/exav-viewer/pdfjs/6.4.299/wasm-59003dc790/qcms_bg.wasm0.1 MB
@exav/viewerdist/frame/app/exav_unpack_wasm_bg.wasm2.3 MB
@exav/viewerdist/frame/app/exav_viewer_docs_bg.wasm1.1 MB
@exav/viewerdist/frame/app/exav_viewer_dwg_bg.wasm1.0 MB
@exav/viewerdist/frame/app/exav_viewer_image_bg.wasm2.2 MB
@exav/viewerdist/frame/app/exav_viewer_model_bg.wasm0.4 MB
@exav/viewerdist/frame/app/exav_viewer_sheets_bg.wasm1.3 MB
@exav/viewerdist/frame/app/exav_viewer_slides_bg.wasm1.1 MB
@exav/viewerdist/frame/app/exav_viewer_sniff_bg.wasm0.2 MB
@exav/viewerdist/frame/app/exav_viewer_table_bg.wasm0.3 MB
@exav/viewerdist/frame/app/exav_viewer_text_bg.wasm0.2 MB
@exav/viewerdist/frame/app/pptx_parser_bg.wasm2.0 MB
@exav/viewerdist/frame/app/xlsx_parser_bg.wasm1.9 MB
@exav/viewerwasm/exav_viewer_docs_bg.wasm1.1 MB
@exav/viewerwasm/exav_viewer_dwg_bg.wasm1.0 MB
@exav/viewerwasm/exav_viewer_image_bg.wasm2.2 MB
@exav/viewerwasm/exav_viewer_model_bg.wasm0.4 MB
@exav/viewerwasm/exav_viewer_sheets_bg.wasm1.3 MB
@exav/viewerwasm/exav_viewer_slides_bg.wasm1.1 MB
@exav/viewerwasm/exav_viewer_sniff_bg.wasm0.2 MB
@exav/viewerwasm/exav_viewer_table_bg.wasm0.3 MB
@exav/viewerwasm/exav_viewer_text_bg.wasm0.2 MB

scripts/stats.py writes them into www/src/data/stats/. Once a release’s tag, GitHub release and npm packages are out, scripts/stats.py release <version> counts its lines, crates, tests, formats and sizes, from its tag and what it published; those figures do not change after. scripts/stats.py bench measures speed, memory and start time, at each release, for every release again:

  • Measured on 2026-11-18, on 3 cores of aarch64 (Apple) with 16 GiB of memory, Linux 6.12.95+deb13-cloud-arm64.
  • Signatures: main 63, daily 28187, bytecode 339, 3,642,981 in all.
  • Files: 5,820 (1.70 GB), 5,704 MalwareBazaar samples and 116 other files.
  • Each figure is the median of 3 runs.

The files are listed by SHA-256 in scripts/stats-dataset.txt: the MalwareBazaar samples up to 1 MiB of the project’s corpus, and the example files of the viewer, from exav-samples. The machine is a virtual machine; a pause of it lengthens one run, which the median leaves out. The figures say nothing of other machines or files, nor of the daemons, which load the signatures once and scan in parallel.