Commit Graph

7 Commits

Author SHA1 Message Date
爱特每羊队 a0059387c7 fix(benchmark): QuickJS 缺失时显示 N/A 而非 infms
- bench_timing(): 前置检测 QUICKJS_EXE 是否存在,不存在则跳过 QuickJS 测试
- bench_stress(): 同样前置检测,显示 N/A 而非 inf/0.0

(cherry picked from commit fb64cbe297d03de13f1920bf339a87d8ad643ca1)
2026-06-30 12:42:57 +08:00
爱特每羊队 b352ab9862 fix(benchmark): 修复 run_benchmark.py 第157行字符串缺闭合引号
导致 SyntaxError: unterminated string literal

(cherry picked from commit 3ce72e5c023dd7a607fbe6eb64b9181d334e7dc3)
2026-06-30 12:42:57 +08:00
爱特每羊队 db013bd4f6 fix(benchmark): 修复 QuickJS test262 缺失 esnext/harness 文件导致跑失败
- 问题: QuickJS run-test262 要求 test262/harness/testBigIntTypedArray.js,但该文件实际在 test/esnext/harness/ 下
- 修复: bench_test262_qjs() 在跑 run-test262 前,自动把 tests/test262/test/esnext/harness/*.js 链接/拷贝到 baseline-quickjs/test262/harness/
- 影响: QuickJS baseline 跑完整个 test262 suite,不再中途挂死

(cherry picked from commit 0660614b95974bef3af2fb598a6e79ab1515b2ff)
2026-06-30 12:42:57 +08:00
爱特每羊队 6331a10f92 fix: remove --results-file flag (not in current code), reorder tests 1-6, add debug output
(cherry picked from commit e9f9905aa5915922aec94ed4dbff73523a8b3068)
2026-06-30 12:42:57 +08:00
爱特每羊队 8e102db071 fix: QuickJS binary/conf paths — make all 产物在源码根目录非 build/
(cherry picked from commit 70681d9fae849ad59b46bdbc0952b2a23395b75a)
2026-06-30 12:42:57 +08:00
爱特每羊队 1cea3578b2 fix: avoid division-by-zero when QuickJS test262 returns empty
(cherry picked from commit fdfe9dd2a12b87b8fde474fbdd5a389a5b72753d)
2026-06-30 12:42:57 +08:00
爱特每羊队 bf00acc992 feat: add benchmark suite with QuickJS=80 baseline scoring
- build.sh: auto-detect package manager, install deps, build OxideJS + QuickJS
- run_benchmark.py: full test262 (--no-skip), stress benchmarks, timing, AI agent score
- fetch_test262.sh: download test262 test suite
- README.md: usage instructions and scoring formula

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit ecaf9ac049b70a9ff518d778886e3fd55287c252)
2026-06-30 12:42:57 +08:00