aquatic_http: urldecode_20_bytes: remove duplicate check

request-from-bytes performance seems to have regressed,
I don't know why (+8%)
This commit is contained in:
Joakim Frostegård 2020-07-24 23:05:21 +02:00
parent 668b480e0f
commit 997482d46d
5 changed files with 1003 additions and 1010 deletions

View file

@ -55,13 +55,6 @@ pub fn urldecode_20_bytes(value: &str) -> anyhow::Result<[u8; 20]> {
anyhow::anyhow!("hex decode error: {:?}", err)
)?;
} else {
if c as u32 > 255 {
return Err(anyhow::anyhow!(
"character not in single byte range: {:#?}",
c
));
}
out_arr[i] = c as u8;
}
}

View file

@ -1 +1 @@
{"mean":{"confidence_interval":{"confidence_level":0.95,"lower_bound":658.5830856810967,"upper_bound":662.6140140431078},"point_estimate":660.5315794423136,"standard_error":1.0267544650468448},"median":{"confidence_interval":{"confidence_level":0.95,"lower_bound":645.305767448625,"upper_bound":648.8067825908649},"point_estimate":646.7621214660466,"standard_error":0.965885560495337},"median_abs_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":8.471955633936192,"upper_bound":13.107607852360173},"point_estimate":10.494262498769816,"standard_error":1.2403366025964986},"slope":{"confidence_interval":{"confidence_level":0.95,"lower_bound":657.1689080616346,"upper_bound":661.4062067913236},"point_estimate":659.2109887653004,"standard_error":1.0812556505845492},"std_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":26.296406154649638,"upper_bound":39.21798204128364},"point_estimate":32.5892125764255,"standard_error":3.3046616744256077}}
{"mean":{"confidence_interval":{"confidence_level":0.95,"lower_bound":712.3229147211995,"upper_bound":718.3354819324181},"point_estimate":715.2458821204962,"standard_error":1.533377033720048},"median":{"confidence_interval":{"confidence_level":0.95,"lower_bound":702.2487122668101,"upper_bound":705.6719507707569},"point_estimate":703.5000937701129,"standard_error":1.0124262081544313},"median_abs_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":16.727369722981607,"upper_bound":20.093705443506796},"point_estimate":18.299859089063325,"standard_error":0.8424544581208894},"slope":{"confidence_interval":{"confidence_level":0.95,"lower_bound":712.837599394627,"upper_bound":719.6820952585409},"point_estimate":716.1242547212966,"standard_error":1.7426990107162317},"std_dev":{"confidence_interval":{"confidence_level":0.95,"lower_bound":40.92144156958538,"upper_bound":55.50547150845648},"point_estimate":48.25691972458682,"standard_error":3.7206560143491942}}

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
[555.2496610557599,598.3305180332976,713.2128033067314,756.2936602842691]
[616.2953956893135,654.5607433380189,756.6016704012334,794.8670180499388]