We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df55d4 commit 477fa76Copy full SHA for 477fa76
benchmarks/README.md
@@ -0,0 +1,17 @@
1
+# Benchmark
2
+
3
+Compare `apollo-datasource-http` with apollo's `apollo-datasource-rest`
4
5
+```
6
+{
7
+ 'apollo-datasource-rest': { startTime: 86302094103500n, endTime: 86302716018200n },
8
+ 'apollo-datasource-http': { startTime: 86302111594200n, endTime: 86302736876100n }
9
+}
10
+Results for 1000 subsequent requests:
11
+apollo-datasource-rest | total time: 621914700ns (621.915ms)
12
+apollo-datasource-http | total time: 625281900ns (625.282ms)
13
+---
14
+apollo-datasource-http <> apollo-datasource-rest percent change: 0.541%
15
16
17
+**Result:** Difference of +-0.5%. You can use `apollo-datasource-http` without negative performance cost.
0 commit comments