<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/node-fetch@3.1.0/src/index.min.js"></script>
fetch('https://www.googleapis.com/discovery/v1/apis')
.then(response => response.json())
.then(data => {
console.log(data)
})
axios.get('https://www.googleapis.com/discovery/v1/apis')
.then(response => {
console.log(response.data);
})
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
node-fetch | |
axios |
This benchmark does not have any results yet. Be the first one to run it!