perf.js
events + isType