mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
705 B
705 B
LPGF testsuite & benchmark
Test
LPGF must be equivalent to PGF in terms of linearisation output.
Possible exceptions:
- No handling of variants (design choice)
- Rendering of missing fucntions
Benchmark
Compilation
Comparing PGF, LPGF along following criteria:
- Time
- Memory
- Binary file size
Runtime (linearisation)
Comparing PGF, PGF2, LPGF along following criteria:
- Time
- Memory
Running
stack build --test --bench --no-run-tests --no-run-benchmarks && time stack bench
stack build --test --bench --no-run-tests --no-run-benchmarks && time PGF_ONLY=1 stack bench
stack build --test --bench --no-run-tests --no-run-benchmarks && time LPGF_ONLY=1 stack bench