Skip to content

Commit

Permalink
docs: updated benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Feb 1, 2022
1 parent ad1e965 commit e6f2a12
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/benchmark.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ts-check
/* eslint-disable */

const Benny = require('benny');
const { execSync } = require('child_process');
Expand Down
20 changes: 20 additions & 0 deletions docs/pages/_comparison-benchmark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Result

Run at Tue, 01 Feb 2022 16:36:36 GMT
Commit: 27b9a4972cb3bd56f1246db5b5e15136b7bd07e9


CACHE INTERCEPTOR
Operations: 42851/s
Network requests: 1 of 211656
Performance: 100%

CACHE ADAPTER
Operations: 37717/s
Network requests: 2 of 183672
Performance: 88%

AXIOS
Operations: 1591/s
Network requests: 7976 of 7976
Performance: 4%
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@
"skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src", "test", "examples"]
"include": ["src", "test", "examples","docs"]
}

0 comments on commit e6f2a12

Please sign in to comment.