Debugger - Runtime
Options
![Mauro Mequelussi-1595850](https://us.v-cdn.net/6037124/user_avatars/1595850.jpg)
Mauro Mequelussi-1595850
Member ✭
It would be interesting in the debugger to return the time it took for a function or endpoint to execute.
Even more with the cache feature, it would be possible to know the difference in performance using cache.
Comments
-
Love it. Great idea.
-
you can do creating a timestamp var “Started” getting “now” as the first step at stack, then create another timestamp var “Finished”, “one before the last” because the last is another one “exec_time” = ( Finished - Started ) / 1000 ... and if want add it to response you can as its a variable like others.
I used this routine to compare some functions processed inside xano X processed outside using js ... is very useful having this functionality available by default in Xano.👍👍
[E0704DEF-AB39-4691-8E04-2AE632D6085F.jpeg]
[1D2C55E1-BC5B-400B-A241-068940B9148F.jpeg]
[1D629512-0F6B-4BEF-B04B-306263869D0E.jpeg]
[B8D8C6D1-8C13-400B-8833-19C427575B30.jpeg] -
Yes, this is an alternative. But it would be useful to have it native to xano so you don't have to create it in every function
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback