unjs / magic-regexp

A compiled-away, type-safe, readable RegExp alternative
https://regexp.dev
MIT License
3.94k stars 52 forks source link

performance testing #69

Open danielroe opened 2 years ago

danielroe commented 2 years ago

with the amount of inference we're doing, it would be a great enhancement to add some kind of type performance test to ensure that end users' TS checkers or IDEs don't get slower. With metrics, we also will have a basis for making performance improvements.

timmattison commented 1 year ago

I think this may be an issue in IntelliJ already. I imported the library and code completion ceased to work when I wrote my first regex with the library. When I commented it out it went back to normal.

Has this been reported before? If not, I can try to reproduce it outside of work.

danielroe commented 1 year ago

I would be glad of a reproduction. 🙏