FileExamples

Files for Performance Testing

Sample files organized as size ladders for measuring file processing performance. Each format is available in multiple sizes so you can measure how parsing time, memory usage, and CPU load scale with file size. Identify O(n²) algorithms, memory leaks, and performance cliffs in your file handling code.

JSON Performance Ladder

Test JSON.parse() and streaming parser performance.

CSV Performance Ladder

Test CSV parsing and data frame loading.

Image Performance Ladder

Test image decoding, resizing, and rendering.

Recommended Tools

Frequently Asked Questions

How do I run a proper performance test?

Use multiple file sizes (10x increments), run each parse 100+ times, discard the first few runs (cold cache), and measure both wall time and memory. Plot results to identify scaling patterns.

What performance issues should I look for?

Linear time increase (good), quadratic or worse increase (bad), sudden memory spikes (potential leak), and processing stalls at specific sizes (buffer overflow or GC pressure).