Quantcast
Download
(961 Kb)
Download
Updated: 10/09/18 09:59 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Updated:10/09/18 09:59 AM
Created:10/08/18 12:28 PM
Monthly downloads:21
Total downloads:87
Favorites:6
MD5:
4.2
ESO Profiler
Version: 1.1.0
by: votan, sirinsidiator

A big "Thank You!" to ZOS for providing us with the API for script profiling.

The Profiler
You have a new tab in your "Journal", now.
There is a button at the bottom to start/stop the profiler.
You get a summary with the functions called and their total time used.
You can click a row to see its call-stack. The shown call-stack is the slowest run to give you a hint what to look for.
For more details there is an "Export" button in the top-right corner. The UI will reload afterwards to save the data to disk.

The profiler auto-starts on reloadui to see what's going on during load. Because settings are not available at that time, this can not be made optional. Load the addon if you want to profile, only.

ESOProfiler Viewer
The addon also includes an external application which allows you to view the exported data with catapult-tracing (used by chrome dev tools for profiling).
In order to use it you need to download node-webkit and unzip all files into the viewer folder in the addon. Once done the folder should look like this:
Warning: Spoiler

The viewer is started via nw.exe and will automatically load the ESOProfiler.lua from your saved variables folder.
With the save button you can store a trace in catapult-tracing's own json format (you could also just copy ESOProfiler.lua for later use since it is smaller than the resulting json).
The load button allows you to select either a lua or json file which will then be imported for viewing.

The "?" button in the top right shows the navigation help. Most important to know is that alt-mousewheel zooms, click selects an event and drag allows to pan the view.

Warning:
If you capture traces over multiple minutes, the resulting file will become very large and opening it will consume multiple gigabytes of ram. In case the viewer crashes while loading the file you can try to increase the allowed heap size. Just change the value "--max-old-space-size=4096" in package.json from 4096 (MB) to a higher one, but be warned that it can consume all your memory and slow down or crash your system!
v1.1.0 ~ sirinsidiator
  • Addon
    • fixed typo
  • Viewer
    • added frame stats for memory usage, fps and latency
    • added separate category for saved variables loading events
    • updated app icon and added missing file
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Uploader
Date
1.0.0
881kB
sirinsidiator
10/08/18 12:28 PM


Post A Reply Comment Options
Unread 10/08/18, 08:58 PM  
Architecture
 
Architecture's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 66
Uploads: 8
Thanks! This is promising
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: