phetsims / chipper

Tools for developing and building PhET interactive simulations.
MIT License
11 stars 13 forks source link

Improve Transpiler speed with async file commands #1444

Open zepumph opened 3 weeks ago

zepumph commented 3 weeks ago

Or something else? @jonathanolson and I were brainstorming why every file takes 25ms to transpile. In Transpiler.transpileFunction(), there are mutliple *Sync() calls that may be better as atomic tasks so that we aren't waiting on I/O so much.

zepumph commented 2 weeks ago

I believe this would be a nice direction, but I'm worried about how async commands would then need to leak into all usages of the transpiler. I won't probably work on this soon.