Skip to content

Commit

Permalink
fix: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed May 17, 2024
1 parent 2fe55e4 commit 7f9913d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/http/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ pub struct Response<Body> {
// Trait to convert a serde_json_borrow::Value to a ConstValue.
// serde_json_borrow::Value is a borrowed version of serde_json::Value.
// It has a limited lifetime tied to the input JSON, making it more
// efficient.
// efficient. Benchmarking is required to determine the performance If any
// change is made.

pub trait FromValue {
fn from_value(value: serde_json_borrow::Value) -> Self;
Expand Down

1 comment on commit 7f9913d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 6.73ms 3.24ms 140.74ms 73.84%
Req/Sec 3.76k 331.26 14.35k 98.50%

449422 requests in 30.10s, 2.25GB read

Requests/sec: 14931.58

Transfer/sec: 76.64MB

Please sign in to comment.