Does this pattern give accurate numbers? Can you look at the delta time between successive keyboard events using the timestamp delivered via chrome and your change which uses window.performance.now.