Commit 3804f1d2

3804f1d20d30Merged

Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 1 file · ~1 modified

Description

docs: sync README counts and line totals with current state

  • Tests: 74 → 290 (verified make test: 290 pass / 0 fail / 0 error)
  • Benchmarks: directory now holds 56 files (1 errors — bm_setivar_young, predates this update); 55 benchmarks pass intro stays accurate
  • Line counts re-measured: spinel_parse.c 1_061 → 1_276 spinel_codegen.rb 21_109 → 30_795 lib/sp_runtime.h 581 → 1_089 lib/regexp/ 1_759 → 1_866 lib/sp_bigint.c unchanged at 5_394

Doc-only sync; benchmark timings and the ~11.6x geomean claim are preserved as-is since they reflect a measurement on specific hardware that hasn't been redone here.

Co-Authored-By: Claude Opus 4.7 (1M context) [email protected]

Details

Commit
3804f1d20d30
Parent
6d5985e078d2

README.mdmodifiedView file

@@ -81,7 +81,7 @@
8181
8282 ## Benchmarks
8383
84-74 tests pass. 55 benchmarks pass.
84+290 tests pass. 55 benchmarks pass.
8585 Geometric mean: **~11.6x faster** than miniruby (Ruby 4.1.0dev) across
8686 the 28 benchmarks below. Baseline is the latest CRuby `miniruby` build
8787 (without bundled gems), which is considerably faster than the system
@@ -257,13 +257,13 @@
257257
258258 ```
259259 spinel One-command wrapper script (POSIX shell)
260-spinel_parse.c C frontend: libprism → text AST (1_061 lines)
261-spinel_codegen.rb Compiler backend: AST → C code (21_109 lines)
262-lib/sp_runtime.h Runtime library header (581 lines)
260+spinel_parse.c C frontend: libprism → text AST (1_276 lines)
261+spinel_codegen.rb Compiler backend: AST → C code (30_795 lines)
262+lib/sp_runtime.h Runtime library header (1_089 lines)
263263 lib/sp_bigint.c Arbitrary precision integers (5_394 lines)
264-lib/regexp/ Built-in regexp engine (1_759 lines)
265-test/ 74 feature tests
266-benchmark/ 55 benchmarks
264+lib/regexp/ Built-in regexp engine (1_866 lines)
265+test/ 290 feature tests
266+benchmark/ 56 benchmarks
267267 Makefile Build automation
268268 ```
269269
@@ -292,8 +292,8 @@
292292 ```bash
293293 make deps # fetch libprism into vendor/prism (one-time)
294294 make # build parser + regexp library + bootstrap compiler
295-make test # run 74 feature tests (requires bootstrap)
296-make bench # run 55 benchmarks (requires bootstrap)
295+make test # run 290 feature tests (requires bootstrap)
296+make bench # run 56 benchmarks (requires bootstrap)
297297 make bootstrap # rebuild compiler from source
298298 sudo make install # install to /usr/local (spinel in PATH)
299299 make clean # remove build artifacts