Every time you convert a photo, pull a frame from a video, or pack files into an archive, a service we run does the work. In September we rewrote it from scratch. This post measures what actually changed, including the parts that aren't flattering and the two bugs measuring it made us fix.
We built three versions side by side on the same machine: before the rewrite, the rewrite itself, and today's version. Then we ran twelve everyday jobs through each, like re-encoding a phone photo, shrinking a camera file, turning a recording into an MP3, and packing a folder. Each job ran five times, and the median counts.
All twelve jobs, before and today
Here's every result on one axis, comparing the old service with the one running today. The scale is logarithmic because the gains range from a few percent to fifty times. Anything slower sits to the left of the line.
How many times faster each job is today
Convert 50 PNGs to JPEG in one go
Re-encode a 12 MP JPEG
ZIP four photos and videos
Resize a 24 MP photo
Take a still from a video
Convert a 12 MP photo to PNG
Pack 40 MB of logs as tar.xz
Convert a Word document to PDF
Convert 3 minutes of WAV to MP3
Convert a 12 MP photo to WebP
Convert a 12 MP photo to AVIF
Convert a 1080p MOV to MP4
How we measuredHide the method
Every version was built from source and measured on 3 October 2026: before is commit f1c2d0a6, after is d0e9ebcb, and today is the current version, which includes the two fixes this post describes. The old version needed a two line patch so it would fetch test files from this machine, and it was built against today's libraries because it predates our lock file.
Apple M2, 8 cores, 8 GB, a working desktop rather than an idle bench machine. Each job ran once to warm up and then 5 times per version, with the versions interleaved so background noise lands on all of them alike. The figure is the median, measured from sending the request to the last byte of the result. Production runs on a different machine, so read the ratios, not the seconds.
51x
faster converting fifty images in one go
41x
faster re-encoding a 12 megapixel photo
24.3x
smaller WebP files, at the same speed as before
Three groups stand out. Images got much faster. Archives got faster when media files were involved. And jobs that hand straight off to an established encoder (video, audio, and documents) barely moved, because the encoder was never the bottleneck. We'll walk through them in that order.
Watch any of them run
A ratio is easy to skim past, so here are the measured times side by side. Pick a job and press start. "Real time" plays the medians at their actual measured speed.
Before and after, started at the same moment
4000 x 3000 JPEG, 2.3 MB, to JPEG at quality 85. 34x faster after the rewrite.
0 ms
Before the rewrite
After the rewrite
Why did one JPEG take seven seconds?
Re-encoding a 12 megapixel JPEG at quality 85 took 7.08 s before the rewrite. Today it takes 173 ms. Both versions use the same encoder library at the same setting, and the two output files differ by fewer than a hundred bytes. The entire difference comes down to how the file was written to disk.
The old service handed the encoder a plain file handle. A JPEG encoder writes output in tiny chunks, and without a buffer in between, every chunk triggers a separate request to the operating system. Millions of tiny writes add up to seconds. The rewrite puts a buffer between the encoder and the file, so the same bytes hit disk in a few hundred large writes.
Before
After
Fifty images is the same story fifty times over. Converting fifty 1080p PNGs to JPEG dropped from 36.8 s to 716 ms, because every single image went through that same JPEG writer. At 51 times faster, it's the biggest win in the table.
The slowest part of the old converter wasn't converting. It was writing the answer down.
A still from a video, and a resize
Pulling one frame from 45 seconds into a minute-long video dropped from 1.79 s to 213 ms. The old service decoded from the start and threw frames away until it reached 45 seconds. The rewrite jumps to 45 seconds first and decodes from there.
In ffmpeg's terms, the -ss option moved in front of the input. One argument, the exact same frame, and 8.4 times faster. The deeper you seek into a long video, the bigger that gap gets.
Shrinking a 24 megapixel photo to 1920 pixels wide went from 1.71 s to 163 ms. The rewrite uses a resizing library that processes multiple pixels per CPU instruction, paired with the same buffered writer.
Why did zipping photos and videos get so much faster?
Packing two photos and two videos (86.9 MB total) into a zip took 1.87 s before and takes 107 ms today. The old service tried to compress everything it put in a zip. Photos and videos are already compressed, so that work bought almost nothing: the zip came out the same size.
The rewrite detects files that won't compress and stores them as-is. The archive is the same size and opens the same way. It's the same reasoning behind the light compression Nemi uses when you download a folder as one zip.
Packing 40 MB of log files as .tar.xz is 1.5 times faster because the compressor now uses multiple cores. A 40 MB file only splits into two blocks, so it uses two cores; larger archives split further. Every .tar.xz still carries a CRC64 checksum, multithreaded or not, so a damaged copy is caught when it's unpacked.
The one that got slower, and how we fixed it
Converting a 12 megapixel photo to WebP took 361 ms before the rewrite and 802 ms right after: twice as slow. Part of that was intentional. The old service ignored the quality slider and always wrote lossless WebP, which is fast to encode and huge. The rewrite respected the slider, and lossy encoding is real work.
Still, slower wasn't good enough. While writing this post, we checked where the time went, and almost all of it sat in one setting. The WebP encoder has an effort dial from 0 to 6 that controls how hard it searches for a smaller file, and we were using the default of 4.
We tested every step on the benchmark photo and four real camera photos from 8 to 21 megapixels. Step 2 encodes about twice as fast as step 4. File sizes land between 4 percent smaller and 7 percent larger, with virtually identical image quality. Higher steps burn CPU for a few percent of file size, and adding more threads made no difference.
The same photo as WebP: before, after the rewrite, and today
Time
4000 x 3000 JPEG, 2.3 MB, to WebP at quality 80
File size
How we measuredHide the method
Every version was built from source and measured on 3 October 2026: before is commit f1c2d0a6, after is d0e9ebcb, and today is the current version, which includes the two fixes this post describes. The old version needed a two line patch so it would fetch test files from this machine, and it was built against today's libraries because it predates our lock file.
Apple M2, 8 cores, 8 GB, a working desktop rather than an idle bench machine. Each job ran once to warm up and then 5 times per version, with the versions interleaved so background noise lands on all of them alike. The figure is the median, measured from sending the request to the last byte of the result. Production runs on a different machine, so read the ratios, not the seconds.
Today a WebP takes 352 ms, compared to 361 ms before the rewrite. The output is 810 KB instead of 19 MB. Same speed, and a file you'd actually put on a web page.
What didn't change, and why that's fine
Converting a 1080p MOV to MP4 took 13.1 s before and takes 13.1 s today. Three minutes of WAV to MP3, and a 41-page Word document to PDF, shifted by about ten percent. These jobs spend almost all their time inside the encoder itself, running with the same settings in every version. There was nothing for a rewrite to speed up here.
For video, the rewrite improved other things: real progress bars instead of guesses, and a cap on concurrent heavy encodes. A queue of videos no longer spawns one encoder per core while every encoder fights for every core. If you want a smaller video rather than a faster encode, our guide to making a video small enough to send walks through the settings.
AVIF is in this group for a different reason. It's 1 times faster, but it isn't a like-for-like comparison: the rewrite also changed the encoder's speed setting, so it produces a slightly different file faster rather than the exact same file.
The full table
Every median across all three versions. Switch to the log scale to compare the fast jobs.
Every job, before, after the rewrite and today
Re-encode a 12 MP JPEG
4000 x 3000 JPEG, 2.3 MB, to JPEG at quality 85
41x faster
Resize a 24 MP photo
6000 x 4000 JPEG, 4.5 MB, to 1920 px wide JPEG at quality 85
11x faster
Convert a 12 MP photo to WebP
4000 x 3000 JPEG, 2.3 MB, to WebP at quality 80
1x faster
Convert a 12 MP photo to AVIF
4000 x 3000 JPEG, 2.3 MB, to AVIF at quality 70
1x faster
Convert a 12 MP photo to PNG
4000 x 3000 JPEG, 2.3 MB, to PNG
2.3x faster
Take a still from a video
60 s 1080p H.264 MP4, 61 MB, frame at 45 s to JPEG
8.4x faster
Convert a 1080p MOV to MP4
20 s 1080p30 H.264 MOV, 18.9 MB, to H.264 MP4 (crf 23, preset medium)
1x faster
Convert 3 minutes of WAV to MP3
3 min 44.1 kHz stereo WAV, 31.8 MB, to MP3 at 192 kbps
1.1x faster
Convert a Word document to PDF
28 KB DOCX (41 pages once rendered) to PDF via pandoc and WeasyPrint
1.2x faster
Convert 50 PNGs to JPEG in one go
50 PNGs at 1920 x 1080, 172 MB, to JPEG at quality 85, returned as a ZIP
51x faster
Pack 40 MB of logs as tar.xz
40 text files, 40 MB, to tar.xz at level 6
1.5x faster
ZIP four photos and videos
2 JPEGs and 2 videos, 86.9 MB, to ZIP
18x faster
How we measuredHide the method
Every version was built from source and measured on 3 October 2026: before is commit f1c2d0a6, after is d0e9ebcb, and today is the current version, which includes the two fixes this post describes. The old version needed a two line patch so it would fetch test files from this machine, and it was built against today's libraries because it predates our lock file.
Apple M2, 8 cores, 8 GB, a working desktop rather than an idle bench machine. Each job ran once to warm up and then 5 times per version, with the versions interleaved so background noise lands on all of them alike. The figure is the median, measured from sending the request to the last byte of the result. Production runs on a different machine, so read the ratios, not the seconds.
How should you read these numbers?
Every job ran five times per version, with the versions interleaved, and we verified every output before counting its timing. Keep three things in mind:
- Read the ratios, not the seconds. We ran these on an ordinary 8 GB M2 desktop with other work open, and production runs on different hardware.
- Every run is saved. The harness, test files, and individual timings are all kept, so we can re-run the benchmark whenever the service changes.
- Conversion runs on our own hardware. Your files are never sent to an outside conversion company, as our security page explains.
To see what the converter supports, the format explorer lists every pair, and Convert is where you use it. The help page on converting files walks through the panel step by step.
Questions people ask
Is WebP better than JPEG?
For photos on a web page, usually yes. A lossy WebP is typically smaller than a JPEG that looks the same, and every modern browser supports it. JPEG still opens in more older software, so it's the safer choice for email attachments and print. In our benchmark, a 12 megapixel photo became a 0.8 MB WebP at quality 80. The two formats use different quality scales, so compare them by eye, not by the number.
Why is my WebP file bigger than the JPEG?
Usually it's lossless WebP, which keeps every pixel intact and barely shrinks a camera photo. Before our rewrite, Nemi's converter wrote lossless WebP regardless of the quality setting, turning a 12 megapixel photo into a 20 MB file. Today it respects the quality slider, and the same photo comes out at about 0.8 MB.
How fast is Nemi's file converter?
It depends on the job. In our benchmark of twelve everyday jobs, converting fifty images at once is 51 times faster than before the rewrite. Re-encoding a 12 megapixel JPEG is about 41 times faster. Video, audio, and document conversions stayed about the same, because almost all the work happens inside the encoder itself.
Why doesn't zipping photos and videos make them smaller?
Photos, videos, and most audio files are already compressed, so compressing them again finds almost nothing to remove. Nemi's converter spots those files and stores them as-is inside the zip. That made zipping 87 MB of photos and videos about 17 times faster, with the exact same archive size.
How do I pull a still frame from a video quickly?
Tell the video tool to jump to the timestamp first and decode from there, instead of decoding from the start and throwing frames away. In ffmpeg, that means putting the -ss option before the input. That single change made pulling a frame 45 seconds into a video about 8 times faster in Nemi's converter.
Are my files sent to another company when I convert them in Nemi?
No. Conversion runs on hardware we operate, not at an outside conversion service, as our security page explains. You choose whether to download the result to your device or save it in your workspace next to the original.
Where the numbers come from
- The measurements (12 jobs, 3 versions, 5 runs each)
lib/blog/data/conversion-bench.json - The harness, fixtures and the patch the old version needed
scripts/blog-bench/README.md - Every individual run, with the tool command lines
scripts/blog-bench/results-2026-10-03.json - Before the rewrite
commit f1c2d0a6 - The rewrite
commit d0e9ebcb - Today
commit fc6cfd7d