1 branch
Tree Top files
Code
Clone with HTTPS:
Clone with SSH:
diviocity oof 76646891b77a3d5c6af4a1e42b122cd61dc1654b 6 days ago
..
BINDINGS-360.md oof 6 days ago 6.85 KB
BYTES-364.md oof 6 days ago 6.19 KB
CACHE-349.md oof 6 days ago 7.9 KB
CAPTURES-361-COST-TRIAL.md oof 6 days ago 3.18 KB
CAPTURES-361-ENTRY-TRIAL.md oof 6 days ago 6.19 KB
CAPTURES-361.md oof 6 days ago 6.84 KB
CURSOR-353.md oof 6 days ago 7.03 KB
DISPATCH-350.md oof 6 days ago 6.64 KB
DISPATCH-355.md oof 6 days ago 4.6 KB
FLOAT-351.md oof 6 days ago 8.05 KB
GUARDS-358.md oof 6 days ago 6.26 KB
LEGACY-4.md oof 6 days ago 2.0 KB
LOOPS-362-DISPATCH-TRIAL.md oof 6 days ago 3.88 KB
LOOPS-362-LOOP-TRIAL.md oof 6 days ago 5.89 KB
LOOPS-362.md oof 6 days ago 6.35 KB
MARSHAL-374.md oof 6 days ago 6.09 KB
NATIVE-348.md oof 6 days ago 6.57 KB
NOT-378.md oof 6 days ago 6.05 KB
NUMERIC-352.md oof 6 days ago 7.59 KB
PAIRS-363-INITIAL-TRIAL.md oof 6 days ago 4.15 KB
PAIRS-363.md oof 6 days ago 6.29 KB
PRIMITIVE-356.md oof 6 days ago 5.16 KB
README.md oof 6 days ago 3.89 KB
RESULTS-V2.md oof 6 days ago 8.8 KB
RESULTS.md oof 6 days ago 9.67 KB
TEXT-376.md oof 6 days ago 6.46 KB
VALUES-365-INITIAL-TRIAL.md oof 6 days ago 6.96 KB
VALUES-365.md oof 6 days ago 7.51 KB
VECTOR-357.md oof 6 days ago 5.86 KB
bignum-fib-200.scm oof 6 days ago 412 bytes
bytevector-fill-4k.scm oof 6 days ago 599 bytes
callcc-escape-1k.scm oof 6 days ago 409 bytes
cases.json oof 6 days ago 22.48 KB
catalog.py oof 6 days ago 5.33 KB
closure-5k.scm oof 6 days ago 470 bytes
closure-mutate-2k.scm oof 6 days ago 491 bytes
compare.py oof 6 days ago 16.34 KB
datum-read-write-200.scm oof 6 days ago 700 bytes
dynamic-wind-200.scm oof 6 days ago 553 bytes
fib-20.scm oof 6 days ago 364 bytes
flonum-sum-2k.scm oof 6 days ago 410 bytes
goops-allocate-200.scm oof 6 days ago 486 bytes
goops-dispatch-1k.scm oof 6 days ago 694 bytes
hashtable-count-1k.scm oof 6 days ago 572 bytes
higher-order-2k.scm oof 6 days ago 431 bytes
integer-divmod-5k.scm oof 6 days ago 407 bytes
list-3k.scm oof 6 days ago 492 bytes
list-map-1k.scm oof 6 days ago 462 bytes
list-reverse-2k.scm oof 6 days ago 550 bytes
main.v oof 6 days ago 2.65 KB
rational-harmonic-80.scm oof 6 days ago 449 bytes
string-build-1k.scm oof 6 days ago 434 bytes
string-scan-4k.scm oof 6 days ago 484 bytes
tail-sum-10k.scm oof 6 days ago 399 bytes
unicode-scan-1k.scm oof 6 days ago 489 bytes
values-consumer-1k.scm oof 6 days ago 452 bytes
vector-update-2k.scm oof 6 days ago 573 bytes

Shared Vile/Guile benchmarks

See NATIVE.md for execution modes and validation rules. Suite v3 contains 24 workloads in six categories. Each workload accepts seeds 0 through 3, changing its work size or input range. The common batch checks every result against an independent integer oracle and cycles through all four seeds. Batch sizes are multiples of four. expected is a fixed success marker; expected_by_seed records the actual workload results.

catalog.py independently derives the oracles using integer arithmetic and Python Fraction. cases.json records those values, source hashes, batch/warmup counts and untimed compatibility imports. Fresh mutable state is constructed per invocation. Read-only list/string inputs and GOOPS declarations are prepared before timing. The datum case includes parsing, writing and port setup/cleanup. Seeded loop bounds are computed once per invocation.

Varying inputs prevent the compiler from hoisting repeated identical work out of a batch. A separate scaling phase compares 4 with 400 calls, three times each, on both native configurations for the four original kernels, higher-order calls, integer division and floating-point arithmetic. A total-time ratio below 20 rejects the run. Check this gate again after compiler changes; oracle success alone does not prove work was repeated.

Unsupported native graphs, fallbacks and losses remain in all summaries. Native counters count invocations, not the proportion of compiled instructions. V2 results and LEGACY-4.md are historical and use different inputs; do not compare their timings as equivalent to v3.

Run each phase as a separate serial Mac job from a hash-verified snapshot while holding the shared validation lock:

python3 bench/native/compare.py build
python3 bench/native/compare.py verify
# Once builds/tests finish and the Mac is idle:
python3 bench/native/compare.py scaling
python3 bench/native/compare.py measure

Default output is native-results-v3/. Use --output for a fresh run. --samples defaults to 31 and must match across phases. Completed build jobs, verification pairs, scaling groups and measured samples are preserved on resume. Changed sources, tools or binaries reject reuse.

--native-cache off is the default and records first-use compilation. For a separate populated-cache comparison, pass --native-cache reuse and a fresh --output to every phase. Verification populates the isolated cache before measurement. The compiler/header environment and actual cache-hit/compilation counts are recorded; custom header search paths disable persistent reuse.

Prepared timings exclude setup and first-use compilation. The first call, whole-process duration, native activity, median, IQR and full range are recorded separately. Collector variants explicitly collect before timing. Whole-process time includes the complete batch and is not a standalone startup measurement. Ratios use Guile/Vile: above 1 means Vile is faster. The geometric mean weights each workload equally and does not predict arbitrary applications.

Category Workloads
integer-kernels tail-sum-10k, fib-20, closure-5k, list-3k
numeric flonum-sum-2k, bignum-fib-200, rational-harmonic-80, integer-divmod-5k
collections list-map-1k, list-reverse-2k, vector-update-2k, bytevector-fill-4k, hashtable-count-1k
text-ports string-build-1k, string-scan-4k, unicode-scan-1k, datum-read-write-200
procedures-control closure-mutate-2k, higher-order-2k, callcc-escape-1k, values-consumer-1k, dynamic-wind-200
goops goops-dispatch-1k, goops-allocate-200

Additional standard Scheme workloads are in the R7RS suite: 56 pinned upstream workloads, with duplicate Fibonacci and integer summation omitted. Their upstream first-use timings and compatibility results remain separate from this suite's prepared comparisons.