Skip to content

strong-globalize takes too long to load and initialize #158

Description

@bajtos

At the moment, it takes about 200-300ms to load strong-globalize module.

$ cd packages/runtime
$ time node -e "require('.')"
real	0m0.312s
user	0m0.159s
sys	0m0.081s

This is makes it impractical to use strong-globalize-powered frameworks like LoopBack when new Node.js processes are frequently created, e.g.

  • in serverless (function-as-a-service) settings
  • when using test runners providing process-isolation, e.g. node-tap
  • when testing CLI tooling scaffolding new projects and starting the scaffolded code as part of the test

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions