2026-11-23, Ubuntu 26.04.1 LTS, INTEL(R) XEON(R) PLATINUM 8573C; Perl v5.40.1; 20 timed runs per case and tool after 2 warm-up runs (hyperfine 1.19.0); sessions of 30 commands.
Single call: one process for one file, wall clock. Processing: the time per command of a -stay_open session on the same file (the empty session subtracted). Module loading: what remains of the single call after start-up and processing. Memory: peak RSS of the single call.
| File type | Single call ms exiftool / lexiftool | faster by | Processing ms exiftool / lexiftool | faster by | Module loading ms exiftool / lexiftool | Memory MB exiftool / lexiftool |
|---|---|---|---|---|---|---|
JPEG with maker notes (Canon) (Canon.jpg) | 118 / 20 | 6.0× | 14 / 4.9 | 2.9× | 30 / 8.4 | 24.6 / 10.6 |
JPEG with maker notes (Nikon) (Nikon.jpg) | 127 / 19 | 6.6× | 11 / 3.3 | 3.2× | 43 / 9.3 | 26.8 / 11.9 |
DNG (DNG.dng) | 196 / 27 | 7.2× | 28 / 9.2 | 3.1× | 94 / 12 | 36.2 / 12.2 |
QuickTime MOV (QuickTime.mov) | 134 / 24 | 5.7× | 16 / 5.4 | 3.0× | 44 / 12 | 25.4 / 11.9 |
PDF (PDF.pdf) | 113 / 18 | 6.4× | 11 / 5.6 | 2.1× | 27 / 5.6 | 22.5 / 9.5 |
JPEG with XMP (XMP.jpg) | 105 / 18 | 5.8× | 12 / 5.6 | 2.1× | 19 / 6.0 | 20.8 / 9.1 |
JPEG with HDR+ maker note (Google Pixel) (Google.jpg) | 202 / 32 | 6.3× | 82 / 17 | 4.9× | 47 / 8.7 | 26.9 / 11.5 |
| mean over the mix | 142 / 22 | 6.3× | 25 / 7.3 | 3.4× | 43 / 8.8 | 26.2 / 11.0 |
write a tag (-Artist=Benchmark, JPEG copy) | 237 / 31 | 7.6× | 11 / 4.9 | 2.3× | 152 / 20 | 44.5 / 17.6 |
start-up alone (-ver) | 74 / 6.5 | 11× | 18.1 / 6.5 |
| Case | Command | exiftool ms mean (min) | lexiftool ms mean (min) | faster by | CPU ms exiftool / lexiftool | Memory MB exiftool / lexiftool |
|---|---|---|---|---|---|---|
| start | -ver | 74 (72) | 6.5 (6.3) | 11× | 74 / 6.4 | 18.1 / 6.5 |
| write-jpeg | -overwrite_original -Artist=Benchmark write.jpg | 237 (229) | 31 (31) | 7.6× | 234 / 31 | 44.5 / 17.6 |
| dir-read | -j -G1 -q -r IMAGES | 1790 (1778) | 759 (753) | 2.4× | 1790 / 758 | 103.7 / 57.3 |
| session-canon | -stay_open True -@ session-canon.args | 506 (498) | 154 (152) | 3.3× | 505 / 153 | 24.8 / 17.6 |
| session-nikon | -stay_open True -@ session-nikon.args | 392 (389) | 107 (106) | 3.7× | 391 / 107 | 26.9 / 19.3 |
| session-dng | -stay_open True -@ session-dng.args | 928 (922) | 282 (278) | 3.3× | 928 / 282 | 36.2 / 20.5 |
| session-mov | -stay_open True -@ session-mov.args | 556 (551) | 168 (168) | 3.3× | 556 / 168 | 25.9 / 19.7 |
| session-pdf | -stay_open True -@ session-pdf.args | 418 (415) | 174 (172) | 2.4× | 418 / 173 | 23.1 / 15.0 |
| session-xmp | -stay_open True -@ session-xmp.args | 436 (433) | 175 (174) | 2.5× | 436 / 175 | 21.6 / 14.8 |
| session-google | -stay_open True -@ session-google.args | 2533 (2505) | 512 (506) | 4.9× | 2532 / 512 | 27.5 / 17.0 |
| session-write | -stay_open True -@ session-write.args | 414 (410) | 154 (151) | 2.7× | 403 / 143 | 44.8 / 19.4 |
| session-empty | -stay_open True -@ empty.args | 74 (74) | 7.0 (6.9) | 11× | 74 / 6.9 | 18.0 / 6.7 |
One process over all 195 test images: exiftool 109 files/s, lexiftool 257 files/s, 2.4× faster.
Both tools run on the same machine, directly after each other, in one hyperfine invocation per case; the files come from vendor/exiftool/t/images. On a shared runner the absolute times vary from run to run, the ratio between the two tools does not. CPU is user plus system time of the process; memory is the maximum resident set size (GNU time).
Raw data: results.json. How it is measured: doc/benchmark.md. Downloads: standalone executables, C API (latest-dev, the build measured here).