Are you using a native extension? Native extensions currently always generate debug builds. Debug builds does a lot of calls to check for webgl errors and this is slow on Chrome. If this is the case you have two options:
- Bundle with an app.manifest file that replaces the debug version of the engine with a release version. Check here for tools to generate app.manifest files: Stripping appmanifest maker
- Edit your index.html file and explicitly disable graphics call verification.
Like this:
var extra_params = {
archive_location_filter: function( path ) {
return ("{{DEFOLD_ARCHIVE_LOCATION_PREFIX}}" + path + "{{DEFOLD_ARCHIVE_LOCATION_SUFFIX}}");
},
engine_arguments: ["--verify-graphics-calls=false"],
splash_image: "{{DEFOLD_SPLASH_IMAGE}}",
custom_heap_size: {{DEFOLD_HEAP_SIZE}}
}