Quantcast
Channel: ESOUI - AddOns by votan
Viewing all articles
Browse latest Browse all 722

ESO Profiler (1.3.1)

$
0
0
Change Log:
--------------------
version 1.3.1:
- Update to API 100028 "Scalebreaker".

version 1.3.0:
- Update to API 100027 "Elsweyr".
- New record data types.
- New option: Profile UI Load.
- New script profiler window.

version 1.2.0:
- Added "Find Sub Calls".
- Update to API 100026 "Wrathstone"

made some major improvements to the viewer

* improved catapult-tracing fixes for use with node-webkit
* use JSONStream to import and export json data (to avoid crashes when handling lots of data)
* increased heap memory size (to fix crashes when loading large files)
* included conversion of Lua data in the importer dialog steps
* added dialog when saving json files
* removed bin/ folder (everything is now directly in viewer/)
* added app icon

Description:
--------------------
https://i.imgur.com/zDpjKCE.png
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.
There is a button to profile the UI during re-load. It enables auto-start profiling and reloads UI. 2 seconds after loading you auto return to the profiler UI.

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:
https://cdn-eso.mmoui.com/preview/pvw7372.jpg
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...

Viewing all articles
Browse latest Browse all 722

Trending Articles