How do I profile "Loading config file" #611
-
Most of the time of building the site ( How do I profile this? |
Beta Was this translation helpful? Give feedback.
Answered by
oscarotero
Jun 7, 2024
Replies: 1 comment 14 replies
-
The function to detect the config file is this: https://github.com/lumeland/lume/blob/main/core/utils/lume_config.ts#L55 For profiling, I use to change the "imports": {
- "lume/": "https://deno.land/x/lume@v2.2.0/
+ "lume/": "../lume/
} Why to you think this is a problem? it's expected to load the |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can run
to know the time from Deno's start.
But the dependencies are loaded only once, and then cached.
Another way is using Lume events. For example: