Skip to content

Add benchmark regression tests & gitlab-ci

Alex Butler requested to merge (removed):benchmarks into master

This change adds benchmarks for

  • find_glyph_index
  • get_glyph_box
  • get_glyph_shape
  • get_glyph_h_metrics

For fonts

  • Deja vu sans mono
  • Gudea regular

Each benchmark includes data assertions so each is also a regression test runnable with cargo +nightly test --bench api

Also included is a gitlab-ci config that build, tests and runs the benchmark tests.

Edited by Alex Butler

Merge request reports