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
unsafein 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×
| Engine | Scan | Files/s | MB/s | Faster than clamscan | Detections |
|---|---|---|---|---|---|
| clamscan 1.4.3 | 1260 s | 4.6 | 1.3 | 1,355 | |
| exav 0.0.1 | ≈ 1129 s | ≈ 5.2 | ≈ 1.5 | ≈ 1.1× | |
| exav 0.0.2 | 290 s | 20.0 | 5.8 | 4.3× | 1,475 |
| exav 0.0.3 | 283 s | 20.6 | 6.0 | 4.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.
Memory
Section titled “Memory”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
| Engine | Scanning the files | Signatures loaded | Loaded from the .exavdb |
|---|---|---|---|
| clamscan 1.4.3 | 1.39 GB | ||
| exav 0.0.1 | did not finish | ||
| exav 0.0.2 | 1.49 GB | ||
| exav 0.0.3 | 1.48 GB |
Start time
Section titled “Start time”--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
| Engine | Build the .exavdb | Start from the .exavdb |
|---|---|---|
| exav 0.0.1 | 43.7 s | 7.8 s |
| exav 0.0.2 | 11.6 s | 0.8 s |
| exav 0.0.3 | 10.5 s | 0.8 s |
Lines of Rust
Section titled “Lines of Rust”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
| Release | Code | Tests | Other programs | Vendored | In the repository | Dependencies | Total |
|---|---|---|---|---|---|---|---|
| 0.0.1 | 73,684 | 31,812 | 2,490 | 0 | 107,986 | 647,463 | 755,449 |
| 0.0.2 | 129,966 | 66,795 | 3,126 | 0 | 199,887 | 887,228 | 1,087,115 |
| 0.0.3 | 236,188 | 149,080 | 3,574 | 41,918 | 430,760 | 863,074 | 1,293,834 |
Dependencies
Section titled “Dependencies”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
| Release | Crates in exav | Named by exav's crates | All third-party crates | npm packages of the viewer |
|---|---|---|---|---|
| 0.0.1 | 139 | 59 | 260 | |
| 0.0.2 | 148 | 69 | 258 | 0 required, 6 optional |
| 0.0.3 | 130 | 58 | 296 | 0 required, 6 optional |
unsafe
Section titled “unsafe”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
- Crates of exav
- Crates of exav-unpack
| Release | Code | Vendored | Crates of exav | Crates of exav-unpack |
|---|---|---|---|---|
| 0.0.1 | 39 | 0 | 5,244, in 83 of 139 crates | 2,506, in 46 of 80 crates |
| 0.0.2 | 55 | 0 | 5,394, in 83 of 148 crates | 3,073, in 46 of 83 crates |
| 0.0.3 | 64 | 7 | 4,379, in 73 of 130 crates | 2,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
| Release | Rust | JavaScript | End-to-end | Fuzz targets |
|---|---|---|---|---|
| 0.0.1 | 1,432 | 5 | 22 | 13 |
| 0.0.2 | 2,744 | 309 | 98 | 26 |
| 0.0.3 | 5,567 | 993 | 294 | 50 |
Formats
Section titled “Formats”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
| Release | Known | Extracted | Shown by the viewer |
|---|---|---|---|
| 0.0.1 * | 93 | 79 | 0 |
| 0.0.2 * | 105 | 81 | 24 |
| 0.0.3 | 126 | 88 | 84 |
* 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.
Binary size
Section titled “Binary size”The binaries attached to each GitHub release, unpacked.
- exav
- exav-grep
- exav-imagehash
- exav-pe-emu
- exav-qr
- exav-unpack
| 0.0.3 | Linux x86_64 | Linux arm64 | macOS x86_64 | macOS arm64 | Windows x86_64 |
|---|---|---|---|---|---|
| exav | 17.7 MB | 16.0 MB | 14.8 MB | 16.0 MB | |
| exav-grep | 9.2 MB | 8.3 MB | 7.5 MB | 8.4 MB | |
| exav-imagehash | 2.6 MB | 2.4 MB | 2.1 MB | 2.1 MB | |
| exav-pe-emu | 1.3 MB | 1.3 MB | 1.1 MB | 0.9 MB | |
| exav-qr | 11.4 MB | 10.2 MB | 9.3 MB | 10.3 MB | |
| exav-unpack | 5.7 MB | 5.3 MB | 4.8 MB | 5.2 MB |
The WASI module of exav 0.0.3 (wasm32-wasip1) is 12.5 MB.
WebAssembly size
Section titled “WebAssembly size”The .wasm files of each npm package, as published.
- @exav/unpack-wasm
- @exav/viewer
| 0.0.3 | File | Size |
|---|---|---|
| @exav/unpack-wasm | pkg/exav_unpack_wasm_bg.wasm | 2.3 MB |
| @exav/viewer | assets/pdfjs/absent.wasm | 0.0 MB |
| @exav/viewer | dist/frame/app/docx_parser_bg.wasm | 2.2 MB |
| @exav/viewer | dist/frame/app/exav-viewer/pdfjs/6.4.299/wasm-59003dc790/jbig2.wasm | 0.0 MB |
| @exav/viewer | dist/frame/app/exav-viewer/pdfjs/6.4.299/wasm-59003dc790/openjpeg.wasm | 0.0 MB |
| @exav/viewer | dist/frame/app/exav-viewer/pdfjs/6.4.299/wasm-59003dc790/qcms_bg.wasm | 0.1 MB |
| @exav/viewer | dist/frame/app/exav_unpack_wasm_bg.wasm | 2.3 MB |
| @exav/viewer | dist/frame/app/exav_viewer_docs_bg.wasm | 1.1 MB |
| @exav/viewer | dist/frame/app/exav_viewer_dwg_bg.wasm | 1.0 MB |
| @exav/viewer | dist/frame/app/exav_viewer_image_bg.wasm | 2.2 MB |
| @exav/viewer | dist/frame/app/exav_viewer_model_bg.wasm | 0.4 MB |
| @exav/viewer | dist/frame/app/exav_viewer_sheets_bg.wasm | 1.3 MB |
| @exav/viewer | dist/frame/app/exav_viewer_slides_bg.wasm | 1.1 MB |
| @exav/viewer | dist/frame/app/exav_viewer_sniff_bg.wasm | 0.2 MB |
| @exav/viewer | dist/frame/app/exav_viewer_table_bg.wasm | 0.3 MB |
| @exav/viewer | dist/frame/app/exav_viewer_text_bg.wasm | 0.2 MB |
| @exav/viewer | dist/frame/app/pptx_parser_bg.wasm | 2.0 MB |
| @exav/viewer | dist/frame/app/xlsx_parser_bg.wasm | 1.9 MB |
| @exav/viewer | wasm/exav_viewer_docs_bg.wasm | 1.1 MB |
| @exav/viewer | wasm/exav_viewer_dwg_bg.wasm | 1.0 MB |
| @exav/viewer | wasm/exav_viewer_image_bg.wasm | 2.2 MB |
| @exav/viewer | wasm/exav_viewer_model_bg.wasm | 0.4 MB |
| @exav/viewer | wasm/exav_viewer_sheets_bg.wasm | 1.3 MB |
| @exav/viewer | wasm/exav_viewer_slides_bg.wasm | 1.1 MB |
| @exav/viewer | wasm/exav_viewer_sniff_bg.wasm | 0.2 MB |
| @exav/viewer | wasm/exav_viewer_table_bg.wasm | 0.3 MB |
| @exav/viewer | wasm/exav_viewer_text_bg.wasm | 0.2 MB |
How the figures are made
Section titled “How the figures are made”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.