File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -24,4 +24,23 @@ fn main() {
2424 u . set_port (" 9999" );
2525 println! (" href: {:?}" , u . href ());
2626}
27+ ```
28+
29+ ### Performance
30+
31+ Ada is fast. The benchmark below shows ** 2 times** faster URL parsing compared to ` url `
32+
33+ ```
34+ Running bench/parse.rs (target/release/deps/parse-dff65469468a2cec)
35+ url_parse/ada_parse time: [2.5853 µs 2.5982 µs 2.6115 µs]
36+ change: [-3.8745% -2.9874% -2.0620%] (p = 0.00 < 0.05)
37+ Performance has improved.
38+ Found 2 outliers among 100 measurements (2.00%)
39+ 1 (1.00%) low mild
40+ 1 (1.00%) high severe
41+ url_parse/servo_parse time: [5.5127 µs 5.6287 µs 5.8046 µs]
42+ change: [+0.7618% +3.0977% +6.5694%] (p = 0.01 < 0.05)
43+ Change within noise threshold.
44+ Found 2 outliers among 100 measurements (2.00%)
45+ 2 (2.00%) high severe
2746```
You can’t perform that action at this time.
0 commit comments