You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ViziCities currently uses WildEmitter, and while it has nice features (wildcards) it's incredibly slow compared to alternatives such as EventEmitter2 and EventEmitter3. I've done some basic benchmarking in the NoFlo repo and the results are impressive – copied below. In short, moving away from WildEmitter can increase the speed of events an incredible amount.
ViziCities currently uses WildEmitter, and while it has nice features (wildcards) it's incredibly slow compared to alternatives such as EventEmitter2 and EventEmitter3. I've done some basic benchmarking in the NoFlo repo and the results are impressive – copied below. In short, moving away from WildEmitter can increase the speed of events an incredible amount.
// ms times for 1 .emit() call and 10 listeners
// ms times for 100 .emit() calls and 10 listeners
// ms times for 1,000 .emit() calls and 10 listeners
// ms times for 100,000 .emit() calls and 10 listeners
// ms times for 1,000,000 .emit() calls and 10 listeners
The text was updated successfully, but these errors were encountered: