Time required to build and/or run a project is seemingly excessive
See original GitHub issueI’m submitting a performance request
- Library Version: 0.17.0
Please tell us about your environment:
-
Operating System: OSX 10.11
-
Node Version: 6.4.0
-
NPM Version: 3.10.6
-
Browser: Chrome 52.0.2743.116
-
Language: TypeScript
Current behavior: When executing au run, or au build it takes considerably longer to build my project than it did with gulp. The longest part of the build process is when it traces my src directory. Is there a configuration param that will speed things up a bit?
Expected/desired behavior:
- What is the expected behavior? For au run to start up faster than it currently does. Preferably as fast as gulp did.
- What is the motivation / use case for changing the behavior? Speeding up workflow. The bigger my project gets, the longer it takes. As of right now I have 15 small files in my src directory and it takes 30+ seconds before I can run my app.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:35 (19 by maintainers)
Top Results From Across the Web
Andor Episode 8 Review: Star Wars Series Has a Huge Easter ...
Andor episode 8 is good, but as we watch humans literally build the cogs that make the machines of the Empire work, one...
Read more >'Andor' Episode 9 Breakdown: The Empire Is Scarier Without ...
That they're seemingly mundane monsters only makes them more pernicious, more frightening, and more difficult to defeat. Evil is scarier without ...
Read more >Andor (TV series) - Wikipedia
Andor, also known as Star Wars: Andor, is an American science-fiction action-adventure limited series created by Tony Gilroy for the streaming service ...
Read more >Grown-up 'Star Wars' series 'Andor' struggles early on to find ...
With promises that this is a more “adult” “Star Wars” project, its story begins with its namesake character — Diego Luna's Cassian Andor, ......
Read more >'Andor' Trailer Breakdown - Our Main Theories Going Into the ...
I think we are seeing a young Cassian Andor, who at the time goes by Kassa, who has just lost his parents in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I waited too long for this to be fixed, so I spent some hours today and got a working fix!
Try this in your big project package.json to see if this solves your problem.
Surprisingly, the slowest part is not repeated parsing (to find out deps), it’s writeTransform. I did a profile, writeTransform consumes 85s of 110s (my project build time).
My fix includes:
@EisenbergEffect could someone from Aurelia try this before I submit a PR? https://github.com/huochunpeng/cli/tree/trace_cache
UPDATE: I confirm the patch works in
au run --watch
watch mode.Fixed.