Commit Graph

3 Commits

Author SHA1 Message Date
爱特每羊队 5ecb428320 perf(vm): 字符串拼接用 push_to_string 消去中间分配, GC阈值 8M→32M
- oxide_runtime_api 新增 push_to_string: 直接将 JsValue 写入 String buffer
- dispatch_add / dispatch_compound_add 复用 Vm::string_buf, 每次concat从4次分配降到1次
- vm_support 新增 new_string_owned 接受 String 转移所有权
- kernel session_gc_threshold 8MB→32MB 减少频繁 GC
- build.sh: make clean 清跨平台 .obj 残留

(cherry picked from commit ad7b044a5a24b23819d783c5419d3e33f936dfc5)
2026-06-30 12:42:57 +08:00
爱特每羊队 6edeadc149 fix(benchmark): build.sh 不再吞 QuickJS 编译错误
- 移除 make 后面的 || true,编译失败会正确报错退出
- 移除 grep 过滤,完整打印编译输出方便排查链接问题
- 编译失败时返回 1 终止构建

(cherry picked from commit 0c77246586a21190f392ab964cc29bdf58ca9128)
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