xGary
xGary
DDeno
Created by theflamingskunk on 8/29/2024 in #help
Get HTTP timings with deno fetch api
I tried with Performance api along with fetch request, It is working sort of on browser but not on server my test looks like this:
const url = "https://dummyjson.com/test"
const res = await fetch(url)
const [entry] = performance.getEntriesByName(url);
const url = "https://dummyjson.com/test"
const res = await fetch(url)
const [entry] = performance.getEntriesByName(url);
2 replies