Refresh docs and website to match recent feature set#460
Conversation
- README: list Float16Array, BigInt64Array, BigUint64Array; bump test count from 3400+ to 8000+ to reflect the current suite size. - docs/goals.md: replace "not yet implemented" wording for fetch with the shipped WHATWG GET/HEAD subset gated by --allowed-host; reframe the function-constructor and `function`-keyword bullet around the --unsafe-function-constructor and --compat-function opt-ins, and carry the same framing through the sandbox caveat and the "What GocciaScript is Not" list (var/function are now opt-in compat toggles). - website landing: portable runtime size copy 5MB -> 6MB. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughDocumentation updates across README, goals, and landing page. README extends TypedArrays examples and updates test count. Goals document describes a WHATWG fetch implementation with host allowlist enforcement and updated dynamic code generation policies. Landing page copy updates portable runtime size limit. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Review rate limit: 0/5 reviews remaining, refill in 54 minutes and 31 seconds. Comment |
Suite Timing
Measured on ubuntu-latest x64. |
Benchmark Results407 benchmarks Interpreted: 🟢 31 improved · 🔴 259 regressed · 117 unchanged · avg -2.7% arraybuffer.js — Interp: 🟢 1, 🔴 6, 7 unch. · avg -1.6% · Bytecode: 🔴 4, 10 unch. · avg -2.0%
arrays.js — Interp: 🔴 17, 2 unch. · avg -4.5% · Bytecode: 🟢 3, 16 unch. · avg +1.5%
async-await.js — Interp: 🔴 1, 5 unch. · avg -0.5% · Bytecode: 🟢 2, 4 unch. · avg +0.7%
async-generators.js — Interp: 🔴 1, 1 unch. · avg -2.9% · Bytecode: 🔴 1, 1 unch. · avg -1.1%
base64.js — Interp: 🔴 7, 3 unch. · avg -4.7% · Bytecode: 🔴 5, 5 unch. · avg -3.0%
classes.js — Interp: 🟢 2, 🔴 14, 15 unch. · avg -1.7% · Bytecode: 🟢 2, 🔴 4, 25 unch. · avg -0.7%
closures.js — Interp: 🔴 7, 4 unch. · avg -4.3% · Bytecode: 🔴 3, 8 unch. · avg -1.7%
collections.js — Interp: 🔴 3, 9 unch. · avg -2.8% · Bytecode: 🔴 6, 6 unch. · avg -2.3%
csv.js — Interp: 🔴 11, 2 unch. · avg -7.5% · Bytecode: 🔴 1, 12 unch. · avg -0.7%
destructuring.js — Interp: 🔴 19, 3 unch. · avg -5.5% · Bytecode: 🔴 2, 20 unch. · avg +0.0%
fibonacci.js — Interp: 🔴 8 · avg -6.6% · Bytecode: 🔴 1, 7 unch. · avg -2.0%
float16array.js — Interp: 🟢 4, 🔴 23, 5 unch. · avg -0.1% · Bytecode: 🟢 9, 23 unch. · avg +0.9%
for-of.js — Interp: 🟢 1, 6 unch. · avg +0.6% · Bytecode: 🔴 3, 4 unch. · avg -2.7%
generators.js — Interp: 🔴 3, 1 unch. · avg -4.3% · Bytecode: 🔴 4 · avg -6.6%
iterators.js — Interp: 🔴 29, 13 unch. · avg -4.7% · Bytecode: 🟢 20, 🔴 2, 20 unch. · avg +2.2%
json.js — Interp: 🔴 19, 1 unch. · avg -9.2% · Bytecode: 🟢 3, 🔴 4, 13 unch. · avg -0.5%
jsx.jsx — Interp: 🟢 2, 🔴 2, 17 unch. · avg +0.5% · Bytecode: 🔴 8, 13 unch. · avg -2.7%
modules.js — Interp: 🔴 6, 3 unch. · avg -7.0% · Bytecode: 🔴 2, 7 unch. · avg -1.2%
numbers.js — Interp: 🔴 10, 1 unch. · avg -5.5% · Bytecode: 🟢 5, 🔴 1, 5 unch. · avg +1.3%
objects.js — Interp: 🟢 1, 🔴 1, 5 unch. · avg +0.0% · Bytecode: 🔴 1, 6 unch. · avg -1.5%
promises.js — Interp: 🔴 11, 1 unch. · avg -5.2% · Bytecode: 🔴 3, 9 unch. · avg -1.9%
regexp.js — Interp: 🔴 11 · avg -5.3% · Bytecode: 🔴 2, 9 unch. · avg -0.5%
strings.js — Interp: 🔴 15, 4 unch. · avg -4.4% · Bytecode: 🔴 12, 7 unch. · avg -3.8%
tsv.js — Interp: 🔴 9 · avg -12.7% · Bytecode: 🔴 2, 7 unch. · avg -1.5%
typed-arrays.js — Interp: 🟢 5, 🔴 13, 4 unch. · avg -17.4% · Bytecode: 🟢 1, 🔴 9, 12 unch. · avg -6.9%
uint8array-encoding.js — Interp: 🟢 4, 🔴 11, 3 unch. · avg +5.2% · Bytecode: 🟢 14, 4 unch. · avg +23.8%
weak-collections.js — Interp: 🟢 11, 🔴 2, 2 unch. · avg +39.3% · Bytecode: 🟢 5, 🔴 3, 7 unch. · avg -3.5%
Measured on ubuntu-latest x64. Benchmark ranges compare cached main-branch min/max ops/sec with the PR run; overlapping ranges are treated as unchanged noise. Percentage deltas are secondary context. |
Summary
Float16Array,BigInt64Array,BigUint64Array) and bumped the test-count claim from3400+to8000+(the runner currently reports 8235 tests across 1041 files).fetchis no longer "not yet implemented" — it's a WHATWG GET/HEAD subset gated by--allowed-host. Thefunction-constructor /function-keyword bullet is reframed around the--unsafe-function-constructorand--compat-functionopt-ins, and the same framing is carried through the sandbox caveat paragraph and the "What GocciaScript is Not" section (sovarandfunctionare no longer listed as "will not be added").This is a documentation-only pass — no behavior changes. The intent was to update existing claims that the last ~200 commits had falsified, not to add new sections.
Test plan
git diffreviewed — only the three intended files change../build/GocciaTestRunner tests --asi --unsafe-ffi --no-progress --jobs=4→ 8235 tests across 1041 files.🤖 Generated with Claude Code