Tweet by martindonadieu

November 6, 2025

Memory and CPU cause and inspect. Currently I have no clue why it cost me this CPU time. It would be nice to have a top 10 of functions that cost the most CPU time, like we have in D1 for queries. Be able to set a threshold for alerts, like error rate, etc and I get emails. Same for Client disconnected, and Exceeded Memory, Exceeded CPU Time Limits, Uncaught Exception: I want the top 10 causes of it. Right now I know I have them but have no clue how to find them. I switched all pages to workers, as it says in many places it's better, but lost all observability and stats; it says now 0 in metrics everywhere. Cannot load balance 2 different workers. ( like i have one with Smart Placement and hyperdrive and one without and D1 read replicate and i need another worker to compare them. Cannot click in the binding Analytics engine to get to it.

Author
martindonadieu
Date
November 6, 2025