Skip to content

Commit c09fca6

Browse files
author
github-action-benchmark
committed
add Criterion.rs Benchmark (cargo) benchmark result for 496ae8b
1 parent 84845ee commit c09fca6

1 file changed

Lines changed: 61 additions & 1 deletion

File tree

dev/bench/data.js

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
window.BENCHMARK_DATA = {
2-
"lastUpdate": 1778063214301,
2+
"lastUpdate": 1778063253300,
33
"entries": {
44
"Rust Benchmark": [
55
{
@@ -18171,6 +18171,66 @@ window.BENCHMARK_DATA = {
1817118171
"unit": "ns/iter"
1817218172
}
1817318173
]
18174+
},
18175+
{
18176+
"commit": {
18177+
"author": {
18178+
"email": "k.trzesniewski@gmail.com",
18179+
"name": "Chris Trześniewski",
18180+
"username": "ktrz"
18181+
},
18182+
"committer": {
18183+
"email": "noreply@github.com",
18184+
"name": "GitHub",
18185+
"username": "web-flow"
18186+
},
18187+
"distinct": true,
18188+
"id": "496ae8b0184c640162c40b315d3ad1a33b65e213",
18189+
"message": "fix(build): scope tsconfig.build.json to src/ for reproducibility (#352)\n\n### Ticket\n\n\n[#351](https://github.com/benchmark-action/github-action-benchmark/issues/351)\n— `tsconfig.build.json` compiles `scripts/` into `dist/` but release\nworkflow excludes them — rebuild reproducibility breaks\n\n### Description\n\n- `tsconfig.build.json` previously used `\"include\": [\"**/*.ts\"]`, which\ncompiled `scripts/ci_validate_modification.ts` into `dist/scripts/`. The\nrelease workflow (`scripts/prepare-release.sh`) only copies `dist/src/`\nto the release tag, so anyone rebuilding from source got an extra\n`dist/scripts/ci_validate_modification.js` not present in the published\nartifact — failing the Apache Software Foundation's\n`verify-action-build` reproducibility checker.\n- Tightened `include` to `[\"src/**/*.ts\"]` so `npm run build` no longer\nemits `dist/scripts/`. Set `\"rootDir\": \".\"` explicitly so `src/index.ts`\ncontinues to emit to `dist/src/index.js` (without `rootDir`, narrowing\nthe include set lets TypeScript infer `src/` as the common root and emit\nflat under `dist/`, breaking the release script's `dist/src/` layout).\n- CI still needs to run `scripts/ci_validate_modification.ts`. Switched\nboth `.github/workflows/ci.yml` and\n`.github/workflows/ci-results-repo.yml` from `node\n./dist/scripts/ci_validate_modification.js …` to `npx tsx\nscripts/ci_validate_modification.ts …` (22 occurrences total). Added\n`tsx` to `devDependencies`.\n\nFixes #351.\n\n### Test scenario\n\n- [ ] `rm -rf dist && npm run build` — verify `dist/` contains only\n`src/` (no `dist/scripts/`).\n- [ ] `ls dist/src/index.js` — verify the release-shaped layout is\npreserved.\n- [ ] `npx tsx scripts/ci_validate_modification.ts` (no args) — verify\nthe script runs and exits non-zero with its usage error (proves CI\ninvocation works).\n- [ ] `npm test` and `npm run lint` — verify no regressions.\n- [ ] CI green on this PR — confirms the `tsx`-driven validation step\nstill works across all benchmark jobs.\n\n<!-- This is an auto-generated comment: release notes by coderabbit.ai\n-->\n\n## Summary by CodeRabbit\n\n* **Chores**\n* Updated CI/CD workflows to improve build reliability and consistency.\n * Added development tooling dependency for enhanced script execution.\n * Refined build configuration to streamline the compilation process.\n\n<!-- end of auto-generated comment: release notes by coderabbit.ai -->",
18190+
"timestamp": "2026-05-06T12:25:26+02:00",
18191+
"tree_id": "6b2a3e8691849f0777e93ad247190bcb692b703a",
18192+
"url": "https://github.com/benchmark-action/github-action-benchmark/commit/496ae8b0184c640162c40b315d3ad1a33b65e213"
18193+
},
18194+
"date": 1778063249106,
18195+
"tool": "cargo",
18196+
"benches": [
18197+
{
18198+
"name": "BenchFib10",
18199+
"value": 160,
18200+
"range": "± 0",
18201+
"unit": "ns/iter"
18202+
},
18203+
{
18204+
"name": "BenchFib20",
18205+
"value": 20139,
18206+
"range": "± 233",
18207+
"unit": "ns/iter"
18208+
},
18209+
{
18210+
"name": "Fibonacci/Recursive/20",
18211+
"value": 20129,
18212+
"range": "± 477",
18213+
"unit": "ns/iter"
18214+
},
18215+
{
18216+
"name": "Fibonacci/Iterative/20",
18217+
"value": 3,
18218+
"range": "± 0",
18219+
"unit": "ns/iter"
18220+
},
18221+
{
18222+
"name": "Fibonacci/Recursive/21",
18223+
"value": 32572,
18224+
"range": "± 179",
18225+
"unit": "ns/iter"
18226+
},
18227+
{
18228+
"name": "Fibonacci/Iterative/21",
18229+
"value": 3,
18230+
"range": "± 0",
18231+
"unit": "ns/iter"
18232+
}
18233+
]
1817418234
}
1817518235
],
1817618236
"Go Benchmark": [

0 commit comments

Comments
 (0)