Serves recorded response sets for benchmarking. The goal is to serve recorded responses with low variance in memory and CPU cost.
Follow the instructions at https://rustup.rs.
rustup toolchain install stable
cargo build --release
Serde deserialize format:
- Seq length 6
- Body table
- Header name table
- Header value table
- Headers table
- Response table
- Recorded response set table
- Seq of
- Bytes
- Seq of
- String
- Seq of
- String
- Seq of
- Seq of
- Seq length 2
- usize ( name table index )
- usize ( value table index )
- Seq length 2
- Seq of
- Seq of
- Seq length 3
- u16 ( status )
- usize ( headers table index )
- Option ( body table index )
- Seq length 3
- Seq of
- Map
- socksPort:
- u16
- name:
- String
- entryKey:
- String
- requestKeyProgram:
- Request key
- requestKeyMap:
- Map
- String: ( request key )
- usize ( response_index )
- String: ( request key )
- Map
- socksPort:
- Map
- Seq length 2 program literals Bytes (program bytecode)
- Map
- type:
- String
- content:
- Value
- type: