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

toml-rs / toml / 14869345356

06 May 2025 08:42PM UTC coverage: 66.085% (-3.9%) from 69.947%
14869345356

push

github

web-flow
feat(parser): Add new `toml_parse` (#891)

This is experimental. The primary goal is to see if we can speed up
`toml_edit` / `toml`s parser.

Current numbers without having touched `toml` / `toml_edit` yet
```
Timer precision: 11 ns
0_cargo              fastest       │ slowest       │ median        │ mean          │ samples │ iters
├─ serde_json                      │               │               │               │         │
│  ├─ document                     │               │               │               │         │
│  │  ╰─ 2-features  260.3 µs      │ 373.9 µs      │ 280.8 µs      │ 280.7 µs      │ 100     │ 100
│  ╰─ manifest                     │               │               │               │         │
│     ╰─ 2-features  170.1 µs      │ 330.6 µs      │ 184 µs        │ 195.4 µs      │ 100     │ 100
├─ toml                            │               │               │               │         │
│  ├─ document                     │               │               │               │         │
│  │  ╰─ 2-features  766.3 µs      │ 871.4 µs      │ 830.3 µs      │ 826.8 µs      │ 100     │ 100
│  ╰─ manifest                     │               │               │               │         │
│     ╰─ 2-features  691.5 µs      │ 1.055 ms      │ 728.3 µs      │ 732.8 µs      │ 100     │ 100
├─ toml_edit                       │               │               │               │         │
│  ├─ document                     │               │               │               │         │
│  │  ╰─ 2-features  578 µs        │ 775.9 µs      │ 601.5 µs      │ 604.8 µs      │ 100     │ 100
│  ╰─ manifest                     │               │               │               │         │
│     ╰─ 2-features  664.8 µs      │ 981.6 µs      │ 722.8 µs      │ 728.6 µs      │ 100     │ 100
├─ toml_parse                      │               │               │               │         │
│  ├─ decoded                      │               │               │               │         │
│  │  ╰─ 2-f... (continued)

926 of 1745 new or added lines in 14 files covered. (53.07%)

5041 of 7628 relevant lines covered (66.09%)

7.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

74.42
/crates/toml_parse/src/decode/mod.rs


Source Not Available

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