hyperstack-org / hyperstack-org/hyperstack
Hyperstack hotloader is too slow
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 538
- Forks
- 41
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
The hotloader client is very slow when large js files are generated (hyperstack 1.0.0alpha1.8).
Chrome freezes just after page loading.
With chrome profiler, I can see it stays several seconds in ruby/hyperstack-config/lib/hyperstack/hotloader/stack-trace.js in _findFunctionName and _findSourceMappingURL

These methods create Regexps each time they are called.
If you keep these regexps in a cache the hotloader should be faster.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.