Record the time spent on each middleware
Record the time spent on each middleware for koa1
## Description