hyperstack-org / hyperstack-org/hyperstack
Hyperstack hotloader is too slow
未关闭
- 主要语言
- JavaScript
- 星标
- 538
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。