-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x10 performance boost #6
Comments
On another note, I propose TS types Doom shall be the benchmark for all future TS performance improvements. |
@pinguluk yes, absolutely. even more, actually, because the thing that bottlenecks Doom is serializing a multi-megabyte-type to string, which is not something a normal typecheck run has to do at all and is exactly the kind of thing Go/Rust/whatever is often WAY WAY faster than JavaScript at. sub-1-day Doom-first-frame is absolutely on the table |
@tuokri there's a way in which this could happen. on one hand, there are things (specifically, appending to an object with hundreds of thousands of keys) that this project does that are extremely extremely abnormal, and thus wouldn't make sense to benchmark because the results wouldn't be applicable to a normal project. on the other hand, this engine is a general purpose tool that could be used (say, by writing a WebAssembly program) to sortof "randomize" the activity and create a very legit benchmark. that's something that'd need someone (again, haha, NOT ME) to devote some time to, but it's genuinely a good idea, I think. |
Will this increase the performance by x10?
https://www.youtube.com/watch?v=pNlq-EVld70
The text was updated successfully, but these errors were encountered: