Difference between revisions of "profile"

(Documentation and sourcecode)
(Documentation and sourcecode)
Line 2: Line 2:
 
profile.lua is a real-time, non-intrusive tool for finding bottlenecks in your game. You don't have to modify any of your existing code to use this tool. You require the profiler and tell it when to start/stop collecting data. It's good to reset the profiler every 100 frames so you can look for bottlenecks in real-time.
 
profile.lua is a real-time, non-intrusive tool for finding bottlenecks in your game. You don't have to modify any of your existing code to use this tool. You require the profiler and tell it when to start/stop collecting data. It's good to reset the profiler every 100 frames so you can look for bottlenecks in real-time.
  
== Documentation and sourcecode ==
+
== Documentation and source code ==
 
https://github.com/2dengine/profile.lua
 
https://github.com/2dengine/profile.lua
  

Revision as of 08:50, 4 October 2024

profile.lua

profile.lua is a real-time, non-intrusive tool for finding bottlenecks in your game. You don't have to modify any of your existing code to use this tool. You require the profiler and tell it when to start/stop collecting data. It's good to reset the profiler every 100 frames so you can look for bottlenecks in real-time.

Documentation and source code

https://github.com/2dengine/profile.lua

https://2dengine.com/doc/profile.html

Other Languages