Worker request time increased drastically after deployment

Hey there, before my deployment i had a quite low request time, usually below a second, only a few hundred milliseconds. But all of a sudden after a few deployments my worker request times went up to 4 or 5 seconds.
My worker really doesnt do much besides a few DB requests and console logs, but no extreme loops or anything, and is written in js. The only thing i changed was adding a lookup table for country codes to get the country the request was made from, so
const countryLookup = {
    AF: 'Afghanistan',
    AL: 'Albania',
    DZ: 'Algeria',
    AS: 'American Samoa',
    AD: 'Andorra',
    AO: 'Angola',
    AI: 'Anguilla',
...

but that was actually it. I cant explain to myself how or why the request times went up by so much, but maybe that isnt even the issue and something else.. Any ideas?
Also for the metrics, median CPU time is 7 ms, wall time is 3000ms and execution duration is 37.8 GB-sec.
Was this page helpful?