Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
got vs axios
benchmarking the http libraries got vs axios
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:139.0) Gecko/20100101 Firefox/139.0
Browser:
Firefox 139
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
got
374K/s
axios
12K/s
View exact numbers
Test name
Executions per second
✓
got
374,126 Ops/sec
axios
11,519 Ops/sec
Script Preparation code:
async function gotTest() { const { data } = await got.post('https://httpbin.org/anything', { json: { hello: 'world' } }).json(); } async function axiosTest() { const { data } = await axios.post('https://httpbin.org/anything', { hello: 'world', }) }
Tests:
got
gotTest()
axios
axiosTest()