SRv6d
rpsl-rs
BlogDocsChangelog

Make parser less strict and use `Specification` trait for optional validation after parsing instead

#244
Comparing
custom-object-spec
(
a0d90f7
) with
main
(
9b459f7
)
CodSpeed Performance Gauge
+25%
Improvements
1
Untouched
3

Benchmarks

Improved

parse AS3257
benches/parse_as3257.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+25%
4.4 ms3.5 ms

Passed

get values for single occurence attribute name on object
benches/get_values.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
445 µs441.9 µs
get values for multi occurence attribute name on object
benches/get_values.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
584.2 µs580.9 µs
evaluate equality of equal objects
benches/equality.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
969.3 µs969.4 µs

Commits

Click on a commit to change the comparison range
Base
main
9b459f7
+24.7%
Stop name parser when encountering newline
a0d90f7
4 days ago
by SRv6d
© 2025 CodSpeed Technology
Home Terms Privacy Docs