kennylerma commented on issue #36: Slow Compiler Build Time URL: https://github.com/apache/royale-compiler/issues/36#issuecomment-376949690 Okay, so switching to 64bit Java made all the difference. I'm seeing about 84 seconds of compile time via command line or FlashDevelop and with all windows or other antivirus turned off. In my project, I do have 2 very large files. One is 2890 lines of code and the other is 21,496. So, I certainly expect some time for these, but the code is still very simple in these files. They only contain the constructor function and its filled with tons of CreateJS shape creation like below. What I'm doing is converting the HTML Canvas output from Adobe Animate into AS3 classes to avoid writing ugly javascript. The only downside is the potential compile time, so any improvement when compiling these large graphic files is much appreciated as this makes a great pipeline for any person or company needing to transition away from Flash Player. I've included a test FlashDevelop project with 2 files with a compile time of 46 seconds on my machine. Currently, I'm ignoring compiler warnings for having public variables in this project. [CompilerTest.zip](https://github.com/apache/royale-compiler/files/1856832/CompilerTest.zip) shape_3572 = new Shape(); shape_3572.name = "shape_3572"; shape_3572.graphics.f("rgba(3,1,1,0.992)").p("AGzKyIhaAAIgKAAIhGAAIgBgFQgxgFgyAAIgKAAIhaAAIgKAAIgBgFQgxgFgxAAIAAAKIgKAAIgUAAIgKAAIhkAAIgKAAIhkAAIgKAAIi+AAIgKAAIiWAAIAAgKIAAhQIAAgKIAAgyQASgggIg6IAAgKIAAgKIAAhaIAAgKIAAhaIAAgKIAAgKQARgggGg6IgBgKIAAgKIAAhaIAAgKIAAgnQARghgGg5IgBgKIAAgKIAAg8QARhDgGhdIgBgKQASghgHg5IgBgKIAAgKIAAgUQAOg9AGhFIAAgKQAlgwBnARIAKABQAyAAAygFIAAgFIAoAAIAKAAIBaAAIAKAAIBaAAIAKAAIBZAAIAKAAIB4AAIAKAAICCAAIAKAAIBaAAIAKAAQBBAABAAFIABAFQAAAFgCADQgDACgFAAIgKAAIAAAoIAAAKQgDBTBKAHIhHAAIAAAKIAAAKIgKAAIAABaIAAAKIAABaIAAAKIAABaIAAAKIAAAyIAAAKIgKAAIAABaIAAAKIAABPIAAAKIgKAAIAABaIAAAKIAABkIAAAKIAAAUIAAAKIgKAAIAABaIAAAKIAABaIAAAKIAAAKIgKAAIAACqIAAAKIAAAKIAAAKIgKAAgADXKUIAKAAQA+ASBYgIIAKAAQAwgHgRhKIgBgJIAKAAQAShOgIhmIAAgKIAAgKIAAgyIAAgKIAAgeQARglgGg/IgBgKIAAgKIAAg8QARhTgGhqIgBgKQARhdgGh1IgBgKIAAgKQASh7gIiTIAAgKIAAgKIAAg8IAAgFQkOgFkNAAIAAAKIgKAAIgeAAIgKAAIhkAAIgKAAIjSAAIAAAKIgKAAIhkAAIAAAKIgFAAQACAVgRgBIAAAyIAAAKIgKAAIgKAAIAABuIAAAKIAAAUIAAAKIgKAAIAABaIAAAKIAAAKIAAAKIgKAAQAABLAFBLIAFAAIAAAKIgKAAIAABkIAAAKIgKAAIAABtIAAAKIAAAoIAAAKIgKAAIAABkIAAAKIAABkIAAAKIAAAKIAAAKIgKAAQAAA3AFA2IAFABIAAAKIgKAAQAABQAFBQIAFAAIBaAAIAKAAIAoAAIAKAAQBDASBcgNIABgFIAKAAIAKAAQA6ASBSgNIAAgFQBBAABAgFIABgFIAdAAIAKAAQAqASBEgHIAKgBIBQAAgAKFoRIgUAAIgKAAIgWAAQAYgCAdgHIAJgBIAAAKIgKAAg"); shape_3572.setTransform(117.5,109);
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
