hyperstack-org / hyperstack-org/hyperstack
Hyperstack hotloader is too slow
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 538
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.