• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tamada / fauxrest / 30504752987
84%
main: 86%

Build:
Build:
LAST BUILD BRANCH: ci/force_fmt_in_CI
DEFAULT BRANCH: main
Ran 30 Jul 2026 01:10AM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Jul 2026 01:04AM UTC coverage: 84.111%. First build
30504752987

push

github

tamada
bench: add a criterion benchmark for the $filter evaluation loop

testdata/bench measures the regex-caching change end to end through the CLI,
which is the figure a user feels but also the noisier one: it includes JSON
parsing and file writes, and it needs a generated dataset. This adds the
complementary microbenchmark over the evaluation loop, which needs no data
files and gives a repeatable regression signal.

`FilterCondition::apply` is public, so the benchmark drives the exact hot path.
Two cases run the same 10000 records through four conditions: the regex set
from testdata/bench/_config.json, and an `eq`/`exists` set as a floor for what
the loop costs with no pattern matching at all.

Verified that it actually catches the regression by running it against the
pre-fix sources: 405 ms without the cache versus 2.3 ms with it, about 175x,
while the `eq` baseline stays at 0.6-0.8 ms either way. That baseline is the
point of including it — it shows the difference belongs to the regex path and
not to the loop.

criterion goes in a new `[dev-dependencies]` section with `harness = false`,
since the built-in `#[bench]` attribute is still nightly-only.

`tempfile` stays in `[dependencies]`: `SqliteSerializer::serialize` uses
`NamedTempFile` at runtime, not just in tests.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

1244 of 1479 relevant lines covered (84.11%)

14.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30504752987.1 30 Jul 2026 01:10AM UTC 9
84.11
GitHub Action Run
Source Files on build 30504752987
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30504752987
  • c66f790a on github
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc