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

mtdowling / jmespath.rs / 211
81%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2016 06:24AM UTC
Jobs 3
Files 10
Run time 2min
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

pending completion
211

push

travis-ci

mtdowling
Updating functions to fn with dispatcher.

This commit updates the function system to no longer be a
HashMap<String, FnBox>, but rather is now a FnDispatcher that handles
the dispatching inside of the trait implementation. This allows for a
more composable function system (for example you could decorate the
existing built-in dispatcher with custom functions), and provides about
a 30% performance improvement for the interpreter because a large
portion of the time was spent to building up and boxing the entire set
of possible functions in the hash map. Now we are instead just calling
actual functions directly.

203 of 203 new or added lines in 2 files covered. (100.0%)

5143 of 6190 relevant lines covered (83.09%)

2.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
src/functions.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/interpreter.rs
6
100.0
src/functions.rs
Jobs
ID Job ID Ran Files Coverage
1 211.1 27 Jan 2016 06:25AM UTC 0
83.06
Travis Job 211.1
2 211.2 27 Jan 2016 06:24AM UTC 0
83.07
Travis Job 211.2
3 211.3 27 Jan 2016 06:27AM UTC 0
83.08
Travis Job 211.3
Source Files on build 211
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #211
  • f34dae6c on github
  • Prev Build on master (#210)
  • Next Build on master (#212)
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