Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce "hello world" startup time #120

Closed
gbrail opened this issue Jun 19, 2015 · 1 comment
Closed

Reduce "hello world" startup time #120

gbrail opened this issue Jun 19, 2015 · 1 comment
Milestone

Comments

@gbrail
Copy link
Contributor

gbrail commented Jun 19, 2015

No description provided.

@gbrail gbrail added this to the Trireme 0.8.6 milestone Jun 19, 2015
@gbrail
Copy link
Contributor Author

gbrail commented Jun 19, 2015

Cut about half a second off Trireme startup for a "hello, World!" script by doing the following:

  • Replace logback in the pre-built JAR and "trireme" NPM wrapper with slf4j-simple. This cuts out a bunch of XML parsing that wasn't telling us anything.
  • Don't initialize Bouncy Castle until the "crypto" module is actually required, rather than every time
  • Pre-compile JavaScript from the "trireme-utils" module rather than doing it every time

@gbrail gbrail closed this as completed Jun 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant