Sample files for performance and load testing

Large, predictable inputs for measuring throughput, memory use and processing time.

Performance problems in file handling are rarely visible with small inputs. Memory use that is negligible at 10 KB becomes an outage at 10 MB if the code reads whole files into memory, and a parser that seems instant can turn out to be quadratic.

Testing with a ladder of sizes, each ten times the last, shows how time and memory grow. If a tenfold increase in input costs much more than a tenfold increase in time, there is something to fix.

Recommended files

FileSizeWhy this oneDownload
10 MB CSV samplesample-csv-10mb.csv10 MB10,485,760 bytesImport throughputDownload CSV
10 MB JSON samplesample-json-10mb.json10 MB10,485,760 bytesParser memory useDownload JSON
10 MB XLSX samplesample-xlsx-10mb.xlsx10 MB10,485,760 bytesSpreadsheet import with hundreds of thousands of rowsDownload XLSX
10 MB JPG samplesample-jpg-10mb.jpg10 MB10,485,760 bytesImage decode memoryDownload JPG
10 MB BIN samplesample-bin-10mb.bin10 MB10,485,760 bytesNetwork throughputDownload BIN

Checklist

  1. Measure a size ladder

    Run the same operation on 100 KB, 1 MB and 10 MB files and compare how time and peak memory scale.

  2. Watch memory, not only time

    Peak memory several times the file size indicates buffering or a DOM-style parser.

  3. Test concurrency

    Ten simultaneous 10 MB uploads behave very differently from one. Check queueing, back-pressure and temporary disk use.

  4. Use incompressible data for network tests

    Text files flatter your numbers when compression is enabled.

Guides

Related use cases

Frequently asked questions

How large an image does the 10 MB JPG decode to?
Its pixel dimensions are listed on the download page. Multiply width by height by four to estimate the bytes of memory needed to hold it decoded.

Test plan architecture and assertion matrix for sample files for performance and load testing

A thorough performance testing workflow separates positive functional verification (confirming well-formed inputs succeed and preserve their SHA-256 checksum) from negative boundary verification (confirming oversized, truncated, or mislabelled inputs fail with structured diagnostic codes).

Test case IDScenario in performance testingInput fixtureExpected system outcome
TC-PERF-01Baseline small payload acceptance1 KB – 100 KB valid fixture from FormatsHTTP 200/201; stored byte count and SHA-256 match /checksums.txt
TC-PERF-02Gateway / reverse-proxy ceiling check1 MB, 10 MB, and 20 MB sized fixtures from SizesExact threshold enforced; oversize payload returns HTTP 413 Payload Too Large
TC-PERF-03Extension vs. magic-byte mismatchwrong-extension-png-as-jpg.jpg from Broken FilesValidator detects 89 50 4E 47 PNG header and rejects spoofed .jpg extension
TC-PERF-04Truncated stream / unexpected EOFTruncated PDF or JPEG from Broken FilesParser catches missing trailer/EOI marker and returns HTTP 422 without leaking stack traces

Automating performance testing in CI/CD pipelines

To keep automated runs deterministic and fast, commit your small sub-100 KB fixtures directly to your repository and synthesize larger 10 MB to 1 GB stress fixtures on demand using our in-browser generator or the reproducible local commands on Methodology. When testing tabular or relational data pipelines during performance testing, pair binary container checks with our 100-row and 1,000-row synthetic datasets so you can assert exact row counts and column aggregations after ingestion.