Obtain a FireFox performance file by:
- Make sure scene uses Babylon MAX.
- Load the scene.
- Turn on performance profiling.
- Reload the scene (very important if code like sceneLoader runs on page load).
- Do anything that might call code in babylon.js not yet encountered.
- Stop recording, and save the data as a file.
On this page:
- Select File with 'Browse' button below, and pick the file saved from above.
- Make any changes of name to babylon file names.
- Click Generate.
- Copy the 'custom.cofig.json' file generated in Downloads directory to the Gulp directory.
- run: 'Gulp build-custom'
- Copy generated scripts from dist/preview lease to where needed, and test. Tip: test with the max version
- If need stuff did not get recorded in performance file, then select file(s) & click Generate again.