Dataset
Performance optimization and benchmark datasets for AI training
A performance optimization dataset is a set of CPU, memory and I/O profiles, per-commit benchmark results and load-test reports, joined to the code changes that made the software faster or slower and to the numbers measured before and after. SourceX sources these to a buyer's spec from established companies with performance-sensitive software, drawing on their continuous profilers, benchmark dashboards and load-test tools, with the harness and environment description where the partner kept them. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Profiles, per-commit benchmark results and load tests, joined to optimization and regression diffs
- Typical systems
- Pyroscope, Parca, Datadog Continuous Profiler, perf, async-profiler, JMH, Google Benchmark, k6, Gatling
- Typical history
- Benchmark results can span years of commits; raw profiles are often kept for far less time, so ask
- Modality
- Benchmark series and sampled stacks as structured data; diffs and harness source as code
- Delivery formats
- pprof, JFR or folded-stack profiles, benchmark results as JSON or CSV per commit, diffs, harness source
- Preparation
- Secrets removed; hostnames, usernames in paths and customer names in workloads replaced
- Licensing
- Scoped per repository or service; the license must cover source shown in diffs and stack frames
- Availability
- Sourced to your spec; bisected pairs and environment records depend on the partner's tooling
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| case_id | string | Stable ID for one measured performance change, linking its commits, benchmark runs and profiles. |
| change_kind | enum | Optimization, regression, regression fix, revert, or a measured change with no effect. |
| diff | object | The commit or pull request that changed performance, with base SHA, files touched and the author's stated reason. |
| benchmark | object | Benchmark name, harness, parameters and the source file that defines it. |
| workload | object | Input data or generator, sizes, concurrency and request mix the measurement ran against. |
| environment | object | CPU model, cores, memory, OS, compiler or runtime version and flags, and whether the machine was dedicated. |
| runs | object | Raw per-run results on each side of the change, with warmup iterations marked. |
| before_after | object | Metric, unit, direction, the value on each side, spread and the comparison method applied. |
| profiles | array | Profile files for each side with kind, such as CPU, allocation, lock or wall clock, sampling settings and symbolization state. |
| hot_frames | object | Top functions by self and total share on each side, derived from the profiles for quick comparison. |
| series_context | object | The same benchmark's results for commits before and after, so a real step can be told from noise. |
| regression_link | object | The commit that introduced a regression, how it was identified and the commit that fixed it. |
| load_test | object | For system-level cases, the tool, arrival model, duration, latency percentiles, throughput and error rate. |
Field names from the table above; values are masked placeholders.
Example record
{
"case_id": "perf_0412",
"change_kind": "regression_fix",
"diff": {
"repo": "repo_orders",
"base": "a41c7e2",
"commit": "c09d5b1",
"stated_reason": "Reuse the line-item buffer instead of allocating one per order"
},
"benchmark": {
"name": "BenchmarkPriceOrder/items=200",
"harness": "go test -bench",
"file": "pricing/bench_test.go"
},
"workload": {"input": "synthetic orders from testdata/gen.go, fixed seed", "concurrency": 1},
"environment": {
"cpu": "[CPU_MODEL]",
"cores": 16,
"toolchain": "go [VERSION]",
"dedicated_host": true
},
"runs": {
"per_side": 10,
"shown": 4,
"before_ns_per_op": [48210, 47990, 48400, 48120],
"after_ns_per_op": [31120, 31040, 31300, 31090]
},
"before_after": {
"metric": "ns/op",
"direction": "lower_is_better",
"before": 48190,
"after": 31150,
"change_pct": -35.4,
"comparison": "benchstat",
"allocs_per_op": {"before": 412, "after": 11}
},
"profiles": [
{ "side": "before", "kind": "cpu", "format": "pprof", "symbolized": true,
"file": "profiles/perf_0412/before.cpu.pb.gz" },
{ "side": "after", "kind": "cpu", "format": "pprof", "symbolized": true,
"file": "profiles/perf_0412/after.cpu.pb.gz" }
],
"hot_frames": {
"before": [{"fn": "pricing.(*Order).lineItems", "self_pct": 3.1, "total_pct": 41.8}, {"fn": "runtime.mallocgc", "self_pct": 22.4, "total_pct": 27.9}],
"after": [{"fn": "pricing.(*Order).lineItems", "total_pct": 9.6}]
},
"series_context": {"commits_before": 40, "baseline_ns_per_op": 31000, "step_at": "7be2f90"},
"regression_link": {
"introduced_by": "7be2f90",
"found_by": "git_bisect",
"range_commits": 14,
"fixed_by": "c09d5b1",
"fix_kind": "forward_fix"
},
"load_test": null
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train models to optimize code
Diffs with measured before and after numbers show which rewrites paid off on a stated workload, and by how much.
Review changes for performance risk
Ordinary commits later bisected as the cause of a regression show slow code that looked fine in review.
Diagnose from a profile
Sampled stacks paired with the fix that followed teach a model to go from hot frames to the line worth changing.
Find the commit behind a regression
A benchmark series with a step and the commit range under it is a triage task with a known answer.
Evaluate patches by measuring them
Where the harness still runs, a model's patch can be benchmarked against the recorded baseline, not scored by similarity to a reference diff.
Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents
What makes this data valuable
Raw runs, not one number
Each comparison keeps the individual results on both sides, so variance can be checked.
Environment on record
Hardware, OS, toolchain and flags are stated for every result, with the dates they changed.
Harness included
The benchmark source and its input data or generator are delivered with the diff.
Profiles as samples
Profiles arrive as symbolized stack samples, not only as rendered flame graph images.
Culprit commit identified
Regressions name the introducing commit and say whether a bisect, a detector or a person found it.
Failed attempts kept
Optimizations that measured no gain, or were reverted, stay in the dataset and are labeled.
Evaluation split
Performance optimization
A speedup needs its harness, hardware and workload
Repository history is full of commits that claim a speedup, and few of them can be checked. The size of a speedup is a property of the code, the input and the machine together. A change that replaces a linear scan with a hash lookup wins on large inputs and can lose on small ones. The compiler and its flags, the runtime and its garbage collector settings, and the allocator all move the number. A diff with a claim in its commit message is an opinion. A diff with the benchmark source, the input data or its generator, the environment record and the raw runs on each side is an example.
The raw runs matter because a single before and after figure hides the noise. Benchmarks run on shared CI runners or cloud instances pick up variance from neighbors, frequency scaling and thermal limits, and a small shift in code layout or alignment can move results with no change to the algorithm. Microbenchmarks have their own traps: the compiler deletes work whose result is unused, and a managed runtime measures differently before and after its JIT compiler has warmed up. Harnesses such as JMH, Google Benchmark, Criterion and Go's testing package exist to control these, and their result files record iterations that a number pasted into a pull request does not.
Profiles need the same context. A CPU profile, whether a pprof file or a JFR recording, is at bottom a set of sampled call stacks, and it is usable only if the frames are symbolized, the profile type and sampling settings are stated, and the workload it was taken under is known. For evaluation, state whether the harness must run, so a model's patch can be measured.
Bisected regress-then-fix pairs are the scarce unit
A benchmark that runs against every commit, or every night, produces a series, and a regression shows up as a step in it. When the benchmark runs per commit, the step names its cause. When it runs nightly or per merge, the step names a range, and someone has to bisect, building and measuring the commits in between until one remains. The commit found is rarely a performance commit. It is an ordinary feature or refactor that added an allocation in a hot loop, a lock, a log call, a query per item or an accidentally quadratic pass, and it passed review because nothing about it looked slow.
That is what makes the pair valuable. The introducing commit is a realistic example of a harmful change that looks harmless. The series and the differential profile are the evidence a person used to find it. The fix has a measurable target, a return to the earlier baseline. Isolated tuning commits offer none of that structure. Pairs are also rarer, because they require benchmark infrastructure that stayed stable long enough to have a baseline, and a team that triaged each step instead of resetting the threshold.
Not every step is a code regression. A replaced benchmark machine, an upgraded compiler or runtime, or a new base image moves the series with no change to the code under test, which is why the environment timeline has to accompany the results. Many regressions are closed by reverting the commit, which teaches less than a forward fix, and some are accepted on purpose as the cost of a correctness or security change. Ask for each pair to state how the introducing commit was identified, by automated bisect, change-point detection or a reviewer's judgment, and size the request in confirmed pairs, not in gigabytes of profiles.
What to check before licensing
- Ask what hardware the benchmarks ran on, whether it was dedicated or a shared CI runner, and when the machine, OS, compiler or runtime changed during the series.
- On the sample, check that every before and after figure has raw runs behind it, and recompute the stated change from them.
- Build and run the harness at the base commit for several sampled cases, and ask which no longer build.
- Open the profiles. Confirm they hold stack samples in pprof, JFR or folded form, that frames are symbolized, and that profile kind and sampling settings are stated.
- Ask how each regression's introducing commit was identified, and verify that its SHA resolves in the delivered history and sits at the step in the series.
- For load tests, ask whether load arrived at a fixed rate or from a fixed pool of virtual users, how percentiles were computed, and how the test environment compared with production.
- Confirm the license covers the source in diffs and the function names in stack frames, and that workload inputs and load scripts carry no customer data, credentials or internal hostnames.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
How is this different from a codebase or CI log dataset?
The unit here is a measured performance change, not a repository or a pipeline run. A codebase dataset delivers source and history, and CI logs record whether builds and tests passed. This dataset joins a diff to benchmark results on both sides of it, the profiles that explain the difference and the environment the numbers were taken in.
Can the benchmarks be rerun?
Sometimes, so say whether you need it. A rerun needs the repository at the base commit, the benchmark source, its input data or generator, and a toolchain that still builds old commits. Results on your hardware will differ from the recorded ones, so compare ratios, not absolute figures. Ask that cases which no longer build be labeled as recorded measurements only, so you can count the runnable ones.
What profile formats are delivered?
Sample data in the format the profiler wrote, where the partner kept it, so name the formats you can read. That usually means pprof files from Go services and from continuous profilers that store or export that format, such as Pyroscope and Parca, JFR recordings from the JVM, and folded stacks or perf script output from Linux perf. A rendered flame graph is a picture of a profile and is hard to diff or aggregate, so accept one only alongside its samples.
Do production profiles count as before-and-after evidence?
Only weakly. A continuous profiler samples whatever traffic the service handled, so a difference between two releases mixes the code change with shifts in request mix, load and data size. Production profiles are good evidence of where time goes under real use. Ask that they be labeled apart from controlled benchmark runs, where the workload was held fixed on both sides.
How are regressions tied to the commit that caused them?
Through the benchmark series and, where needed, a bisect. If the benchmark ran on every commit, the first slow result names the commit. If it ran nightly or per merge, the step names a range that the team narrowed by building and measuring the commits inside it. Ask that each pair record the method used, the size of the original range and the commit or revert that restored the baseline.
Which languages and runtimes can be covered?
Any that the partner benchmarks and profiles, so name the ones you need. The evidence differs by runtime. Native code needs debug symbols for readable stacks, JIT runtimes such as the JVM need warmup handled by the harness, and interpreted languages show interpreter frames unless the profiler understands the runtime. Supply in a given language is not guaranteed.
Related datasets
- Proprietary codebases with full history
Complete private repositories with full version history, build files, tests and docs
- CI/CD pipeline logs and build failures
Pipeline runs with step logs and exit codes, joined to triggering and fixing commits
- Production logs and distributed traces
Logs, traces and metrics for incident and baseline windows, tied to the change that ended each incident
- Software engineering histories (issues, PRs, reviews)
Issues linked to commits, pull requests, code review, CI runs, deploys and incidents
- Test suites with run-by-run results
Automated test code plus one result row per test per run, keyed to the commit under test
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.