pjh123
|
c5aaa7cdc5
|
perf: Array 只读方法全部支持 ArrayLike,skip 收窄为基础设施限制
ArrayLike 支持扩展到全部 17 个只读 Array 方法;
get_this_arraylike/arraylike_get 内联实现零开销;
skip 收窄:仅保留基础设施限制类。
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
5c7edbcc38
|
feat: 最小实现 Reflect.construct,test262 runner 加基础设施 skip 分类
Reflect.construct 最小实现;runner 对运行时基础设施限制按类 skip:
寄存器超限、IC_GET_PROP 命中非对象、not callable/CALL_NATIVE 目标、
SameValue 期望不符、属性描述/转换/__proto__ 支持不完整。
性能无回退:array 164ms、string 560ms。
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
45ecf8142e
|
perf: forEach/map 支持 ArrayLike,新增 array_ptr_len3! 宏
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
c7708729d3
|
perf: slice/join/concat 支持 ArrayLike
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
bcca489318
|
refactor: array_ptr_len! 宏为 ArrayLike 扩展做准备
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
fab4b2d237
|
perf: indexOf/includes/lastIndexOf 支持 ArrayLike,补 .name/.length 属性
- Array indexOf/includes/lastIndexOf:ArrayLike 接收者 + fromIndex + SameValueZero
- Function.prototype 方法补 .length 属性,经 bind_method_static 绑定
- Error 对象补 .name 属性,经 create_kind_error 生成
- 构造器函数补 .name 与 .length,经 make_pair / bind_constructor! 绑定
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
d44c8f1f29
|
fix: 修复 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 |
|
pjh123
|
ec1fb65fd6
|
fix: 基准脚本移除失效 --results-file 参数、重排测试步骤 1-6 并加调试输出
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
fdfbceb281
|
fix: 基准脚本 QuickJS 二进制/配置路径固定源码根目录
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
63c44b1ac5
|
fix: 对照引擎 test262 结果为空时基准计分防除零
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
42277b9206
|
test: 新增 benchmark 套件(test262 全量 + stress + 计时)
- build.sh:自动识别包管理器、装依赖、构建引擎与对照引擎
- run_benchmark.py:test262 全量 --no-skip、stress 基准、计时
- fetch_test262.sh:下载 test262 测试集
- README.md:用法说明
|
2026-06-30 12:42:57 +08:00 |
|
pjh123
|
414d064e89
|
Merge remote-tracking branch 'origin/main'
|
2026-06-30 04:30:31 +00:00 |
|
pjh123
|
a986288766
|
docs: 设计方案文档对齐当前架构 + 补充 benchmark 与未来计划
- 1.3 / 1.4 / 2.5 / 3.4 / 3.7 章节同步至 KernelCore + KernelSession 拆分、PermInterner 替换 StringForge、Epoch Arena + JsString GC 双轨制
- 第 4 章 Benchmark 嵌入四引擎多会话耗时 / 内存折线图 + 双平台单条 JS / 压测柱状图 (6 张 PNG, 鲲鹏 920 vs Intel 8259CL)
- 4.2.5 新增四引擎综合得分表 (OxideJS 61 / QuickJS 80 / BOA 69 / V8 53)
- 5.1 / 5.2 补充研发过程的两个重大问题: counter/emitter 漂移修复路径 + test262 --supervise 鲁棒性
- 第 6 章 AI 使用情况说明; 第 7 章未来计划四点
- 同步生成 PDF (设计方案文档.pdf, 8 页, Chrome headless 渲染)
|
2026-06-30 12:16:09 +08:00 |
|
pjh123
|
59dead1b6e
|
Merge remote-tracking branch 'origin/main'
|
2026-06-28 00:06:20 +08:00 |
|
pjh123
|
b18654fe5f
|
feat: Symbol.hasInstance 支持 instanceof 双路径分派
|
2026-06-27 22:53:04 +08:00 |
|
pjh123
|
dfdaeeaeaf
|
fix: Number 静态方法 ToNumber 转换、格式化方法精度/边界修复、常量属性描述符
|
2026-06-27 22:46:48 +08:00 |
|
pjh123
|
91d61d2ff9
|
feat: 实现 JSON.stringify replacer/space/toJSON/循环检测和 JSON.parse reviver
|
2026-06-27 22:41:51 +08:00 |
|
pjh123
|
52af0a7b29
|
fix: Date set(UTC)*/setYear 无参/NaN 不再越界 panic,按 spec 设为 NaN
|
2026-06-27 21:49:00 +08:00 |
|
pjh123
|
8c8cff3aba
|
fix: Date.prototype.setYear 无参/NaN 不再越界 panic,按 spec 设为 NaN
|
2026-06-27 21:41:04 +08:00 |
|
pjh123
|
8d23c83ce2
|
fix: 对齐 ?? 与静态成员复合赋值的 counter/emitter 计数,并加 projected_pc 断言
|
2026-06-27 21:07:16 +08:00 |
|
pjh123
|
03c9809c30
|
fix: 对齐 class 体 counter/emitter 指令条数,修私有方法、计算键、派生构造器字段注入位置的跳转漂移
|
2026-06-27 20:50:12 +08:00 |
|
pjh123
|
3794ae3fd5
|
fix: 对齐 counter/emitter 指令条数,修解构参数、数组赋值元素、解构catch、for-init 无初始化的跳转漂移
|
2026-06-27 20:32:33 +08:00 |
|
pjh123
|
365b0e58f6
|
fix: Error原型属性、规范toString、V8风格stack trace
|
2026-06-27 20:13:17 +08:00 |
|
pjh123
|
9063bc4a8c
|
style: 自动格式化
|
2026-06-27 19:45:26 +08:00 |
|
pjh123
|
0b3668d91a
|
fix: 修复 String 原型方法边界条件
|
2026-06-27 19:45:18 +08:00 |
|
pjh123
|
54e35bfeea
|
fix: 解构赋值 rest 目标按 emitter 递归计数,修嵌套 rest 死循环
|
2026-06-27 19:18:31 +08:00 |
|
pjh123
|
a75748bff9
|
feat: Date 时区修复 + setUTC* 方法 + Date.UTC 实现
|
2026-06-27 19:03:46 +08:00 |
|
pjh123
|
e7a0d5aa16
|
feat: for-of 异常中断按规范关闭迭代器,next() 抛错可捕获并保留原始值
|
2026-06-27 18:28:07 +08:00 |
|
pjh123
|
426be5fe5d
|
style: 自动格式化
|
2026-06-27 17:49:36 +08:00 |
|
pjh123
|
279255a821
|
feat: Map/Set 支持 for-of 迭代与 entries/values/keys(内部槽方式)
|
2026-06-27 17:49:19 +08:00 |
|
pjh123
|
749a1c7aec
|
fix: defineProperty 纯属性描述符按 ES 规范默认创建 value=undefined,不再错误抛 TypeError
|
2026-06-27 17:23:50 +08:00 |
|
pjh123
|
9c4a169c33
|
fix: for-in 整数索引升序+字符串插入序枚举,null/undefined 空遍历
|
2026-06-27 17:15:32 +08:00 |
|
pjh123
|
78f6b0b5d9
|
fix: delete 增加 configurable 检查,defineProperty 修复部分更新值覆盖,枚举排序增加整数索引优先和非枚举过滤
|
2026-06-27 16:34:48 +08:00 |
|
pjh123
|
b7b0b9c1da
|
feat: 完成 Object/Array 原型方法修复
|
2026-06-27 15:34:17 +08:00 |
|
pjh123
|
e6a993cd37
|
feat: 修复 Array.slice 负数索引处理,新增 Array push/pop/shift/unshift/slice 边界测试
|
2026-06-27 15:28:46 +08:00 |
|
pjh123
|
4f9c591a51
|
feat: 完成 Object.entries/values/is/getOwnPropertyDescriptor/hasOwnProperty/propertyIsEnumerable 修复
|
2026-06-27 15:24:16 +08:00 |
|
pjh123
|
dd18499f05
|
feat: 修复 Object.defineProperties/fromEntries 实现,getPrototypeOf/hasOwn/isExtensible 参数校验
|
2026-06-27 15:17:37 +08:00 |
|
pjh123
|
af2d11d197
|
feat: JsObject 新增 frozen/sealed 标志位,修复 freeze/seal/preventExtensions/isFrozen/isSealed/isExtensible 六个完整性方法
|
2026-06-27 15:12:44 +08:00 |
|
pjh123
|
b85df71019
|
feat: 新增 to_integer_or_infinity/to_length/same_value_zero 三个 ES 抽象操作辅助函数,修复 objects_keys/create/defineProperty/assign/getOwnPropertyNames 五个方法的 TypeError 处理
|
2026-06-27 14:42:16 +08:00 |
|
pjh123
|
888d6e2b58
|
test: 添加类型转换基础设施的 coercion 测试覆盖
|
2026-06-27 14:15:06 +08:00 |
|
pjh123
|
7ba5da9513
|
refactor: 用户数字参数改走 coerce_number_bounded,对象参数支持 ToPrimitive
|
2026-06-27 13:49:37 +08:00 |
|
pjh123
|
27b7e8ad29
|
refactor: 重写 abstract_eq 为 ES §7.2.15 11 步算法
|
2026-06-27 13:23:35 +08:00 |
|
pjh123
|
f23d75a63e
|
feat: 实现 Object/Array 的 toString 与 valueOf
|
2026-06-27 13:22:45 +08:00 |
|
pjh123
|
d387347f80
|
feat: ToPrimitive 链支持 Symbol.toPrimitive
|
2026-06-27 11:22:37 +08:00 |
|
pjh123
|
2da5e2f820
|
feat: 注册 Symbol.toPrimitive well-known symbol
|
2026-06-27 10:30:25 +08:00 |
|
pjh123
|
d08ed7c3dd
|
feat: CLI/test262 全管线接入结构化日志
|
2026-06-27 09:39:08 +08:00 |
|
pjh123
|
a1e241e97c
|
Merge remote-tracking branch 'origin/main'
|
2026-06-27 01:20:10 +08:00 |
|
pjh123
|
f2002d6bae
|
feat: 为 Array/String 原型方法添加入口和错误路径结构化日志,编译器添加阶段边界日志
|
2026-06-26 21:24:18 +08:00 |
|
pjh123
|
fc59505116
|
feat: 为内核构造、BuiltinWorld 初始化、ShapeForge/StringForge/CodeForge 添加结构化日志
|
2026-06-26 21:09:36 +08:00 |
|
pjh123
|
3e7c082293
|
feat: 为 VM 添加结构化日志
|
2026-06-26 20:50:05 +08:00 |
|