New Workload: TypeScript standalone#117
Conversation
✅ Deploy Preview for webkit-jetstream-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
kmiller68
left a comment
There was a problem hiding this comment.
Seems like a good workload, although sadly on it's last legs... I guess it will become a wasm benchmark when the Go transition happens 🙂
Can we add a README.md with the steps to rebuild?
|
Added README and license. |
|
Looks like this test also has a bunch of comments that have non-latin1 characters in them. We should probably fix that. That said, I'm a bit conflicted. It seems like this benchmark combines .ts source files into the final script, which seems odd. I would've expected that the |
|
Fair point, let me change that to something where we load the resources (.ts sources) separately and feed them as JS strings to |
|
|
@camillobruni @kmiller68 One question I would like to discuss is whether we should include TypeScript test given that TypeScript mainline compiler is moving to golang. https://github.com/microsoft/typescript-go |
|
That's a fair point. Some points:
In short, if we don't want this one I think we need a solid replacement. I'd weight the need for more diverse workloads currently higher than whether or not it's realistic long term (and this is supposed to be a replacement for the existing typescript). Alternatives: What's your take on these points? |
|
I spoke to Yusuke offline, we think the workload is fine. Maybe we can make the migration to Go slower than the JS version 🙂 and if/when that happens we can replace this with something else for JS4+ |
|
Definitely happy with keeping things a moving target 👍 nothing worse than a non-evovling benchmark suite. |
kmiller68
left a comment
There was a problem hiding this comment.
Overall, LGTM but we can also address those after merging.
Runs a in-memory typescript compilation of the
immerlibrary.npm run builddownloads and buildsrc/genin-memory file contents for 3 different libs (for local testing)