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

rubensworks / jsonld-context-parser.js / 6784004907 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2023 11:46AM UTC
Files 6
Run time 1s
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

07 Nov 2023 11:45AM UTC coverage: 100.0%. Remained the same
6784004907.1

push

github

web-flow
Remove deep cloning of contexts during parsing

This significantly improves parsing performance.

I have also done a (small) benchmark of these changes. As can be seen the time taken to parse a context with these changes significantly decreases (in particular it is now 20x faster to parse a VC context).

Before:
Parse a context that has not been cached; and without caching in place x 78.17 ops/sec ±0.73% (78 runs sampled)
Parse a context object that has not been cached x 2,280 ops/sec ±0.65% (91 runs sampled)

in #72:
Parse a context that has not been cached; and without caching in place x 123 ops/sec ±0.78% (84 runs sampled)
Parse a context object that has not been cached x 5,417 ops/sec ±0.70% (87 runs sampled)

After (in this PR):
Parse a context that has not been cached; and without caching in place x 1,714 ops/sec ±0.78% (84 runs sampled)
Parse a context object that has not been cached x 8,902 ops/sec ±0.70% (87 runs sampled)

477 of 477 branches covered (100.0%)

Branch coverage included in aggregate %.

553 of 553 relevant lines covered (100.0%)

95.03 hits per line

Source Files on job run-18.x - 6784004907.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6784004907
  • 28596b5e on github
  • Prev Job for on master (#6492290900.4)
  • Next Job for on master (#6784015903.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc