mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
aquatic_http: parse_key_value_pairs_memchr: small code improvement
This commit is contained in:
parent
a8e355f22a
commit
ca8d278a03
7 changed files with 1011 additions and 1008 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,4 +1,7 @@
|
|||
/target
|
||||
/tmp
|
||||
|
||||
**/criterion/*/change
|
||||
**/criterion/*/new
|
||||
|
||||
.DS_Store
|
||||
|
|
|
|||
|
|
@ -175,10 +175,10 @@ impl Request {
|
|||
data.insert(key, value);
|
||||
}
|
||||
|
||||
position = segment_end + 1;
|
||||
|
||||
if position == query_string.len(){
|
||||
break;
|
||||
if segment_end == query_string.len(){
|
||||
break
|
||||
} else {
|
||||
position = segment_end + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"mean":{"confidence_interval":{"confidence_level":0.95,"lower_bound":3749.5055872769876,"upper_bound":3783.2703655553905},"point_estimate":3766.093336327674,"standard_error":8.62768938917972},"median":{"confidence_interval":{"confidence_level":0.95,"lower_bound":3687.4672404811445,"upper_bound":3708.700114153784},"point_estimate":3701.2006430041156,"standard_error":5.369535376928546},"median_abs_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":131.0000245768982,"upper_bound":152.13343559996954},"point_estimate":140.6084981812978,"standard_error":5.395688484573446},"slope":{"confidence_interval":{"confidence_level":0.95,"lower_bound":3761.8699879889255,"upper_bound":3804.7796413016404},"point_estimate":3782.5656139118564,"standard_error":10.943849648456766},"std_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":241.7583629895955,"upper_bound":304.36230650338575},"point_estimate":273.6771366722231,"standard_error":16.004559834945667}}
|
||||
{"mean":{"confidence_interval":{"confidence_level":0.95,"lower_bound":3747.1235505684463,"upper_bound":3775.4792697171138},"point_estimate":3760.8178721015074,"standard_error":7.2434996906468925},"median":{"confidence_interval":{"confidence_level":0.95,"lower_bound":3708.5693599361093,"upper_bound":3724.744478441148},"point_estimate":3719.449350467544,"standard_error":4.187042586445918},"median_abs_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":95.91763682926207,"upper_bound":117.59276597163861},"point_estimate":107.37477461147462,"standard_error":5.538505171592265},"slope":{"confidence_interval":{"confidence_level":0.95,"lower_bound":3779.8768529936756,"upper_bound":3822.820449054469},"point_estimate":3800.581120971367,"standard_error":10.932410123580997},"std_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":195.1820317005926,"upper_bound":260.7777004749326},"point_estimate":228.48228831326324,"standard_error":16.87170456516416}}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
[3023.921799212473,3318.088859655184,4102.534354169079,4396.701414611789]
|
||||
[3224.065097175909,3437.935635898498,4008.257072492067,4222.127611214655]
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
export RUSTFLAGS="-C target-cpu=native"
|
||||
|
||||
cargo bench --bench bench_request_from_path -- --noplot --baseline no-memchr --load-baseline latest
|
||||
cargo bench --bench bench_request_from_path -- --noplot --baseline latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue