Files
gf-core/testsuite/lpgf
2021-02-17 15:30:11 +01:00
..
2021-02-17 15:30:11 +01:00
2021-02-16 15:17:54 +01:00
2021-02-16 15:17:54 +01:00
2021-02-16 15:17:54 +01:00
2021-02-16 22:49:37 +01:00
2021-02-13 00:16:03 +01:00
2021-02-09 10:54:51 +01:00
2021-02-16 22:49:37 +01:00
2021-02-09 10:54:51 +01:00
2021-02-09 10:54:51 +01:00
2021-02-13 00:14:35 +01:00
2021-02-03 13:16:10 +01:00
2021-02-17 15:30:11 +01:00
2021-01-26 09:35:21 +01:00
2021-02-03 09:44:15 +01:00
2021-01-26 09:35:21 +01:00
2021-01-26 09:35:21 +01:00

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
stack bench --benchmark-arguments "+RTS -T -RTS"
ONLY=PGF stack bench --benchmark-arguments "+RTS -T -RTS"
ONLY=PGF2 stack bench --benchmark-arguments "+RTS -T -RTS"
ONLY=LPGF stack bench --benchmark-arguments "+RTS -T -RTS"