Revert "initial perf, which gets stripped out in production (#4131)" (#4636)

This reverts commit 5ea2150ae7.
This commit is contained in:
kyle
2018-06-08 23:18:55 -07:00
committed by GitHub
parent 8fd919eede
commit a2015ee08b
9 changed files with 8 additions and 61 deletions

View File

@@ -15,15 +15,9 @@ const idFn = a => a
function createStoreWithMiddleware(rootReducer, initialState, getSystem) {
let middlwares = [
/* develblock:start */
// Measure actions
() => next => action => {
require("root/src/perf").start("action:"+action.type)
const res = next(action)
require("root/src/perf").stop("action:"+action.type)
return res
},
/* develblock:end */
// createLogger( {
// stateTransformer: state => state && state.toJS()
// } ),
systemThunkMiddleware( getSystem )
]