Do some local style modifications and profile.

1. Do some temporary style modifications to help make the code more readable
   for profiling (with help from ESLint).
2. Profile the code, and optimize accordingly.
This commit is contained in:
impinball 2015-07-09 16:14:08 -04:00
parent 83a30a4d3c
commit 9ae592ee4d
12 changed files with 4426 additions and 2695 deletions

View file

@ -1,46 +1,55 @@
{
"name": "mithril",
"description": "Mithril.js beta build - use this to help us test the releases before they are released",
"version": "0.1.34-beta.0",
"repository": {
"type": "git",
"url": "git@github.com:lhorie/mithril.js.git"
},
"scripts": {
"test": "grunt test"
},
"main": "mithril.js",
"devDependencies": {
"grunt": "*",
"grunt-cli": "*",
"grunt-contrib-copy": "*",
"grunt-contrib-uglify": "*",
"grunt-contrib-clean": "*",
"grunt-contrib-concat": "*",
"grunt-execute": "*",
"grunt-md2html": "*",
"grunt-replace": "*",
"grunt-contrib-qunit": "*",
"grunt-zip": "*",
"grunt-jsfmt": "git://github.com/ysimonson/grunt-jsfmt",
"grunt-contrib-connect": "~0.7.1",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-jscs": "^1.1.0",
"grunt-sauce-tunnel": "^0.2.1",
"load-grunt-config": "^0.9.2",
"merge": "^1.1.3",
"publish": "~0.3.2",
"grunt-saucelabs": "*",
"request": "~2.35.0",
"q": "~1.0.0",
"saucelabs": "~0.1.1",
"sauce-tunnel": "~2.0.6",
"colors": "~0.6.2",
"lodash": "~2.4.1"
},
"main": "mithril.js",
"licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}],
"files": ["mithril.min.js", "mithril.min.js.map", "mithril.js", "README.*"]
"name": "mithril",
"description": "Mithril.js beta build - use this to help us test the releases before they are released",
"version": "0.1.34-beta.0",
"repository": {
"type": "git",
"url": "git@github.com:lhorie/mithril.js.git"
},
"scripts": {
"test": "grunt test"
},
"main": "mithril.js",
"devDependencies": {
"colors": "~0.6.2",
"grunt": "*",
"grunt-cli": "*",
"grunt-contrib-clean": "*",
"grunt-contrib-concat": "*",
"grunt-contrib-connect": "~0.7.1",
"grunt-contrib-copy": "*",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-qunit": "*",
"grunt-contrib-uglify": "*",
"grunt-contrib-watch": "~0.6.1",
"grunt-eslint": "^16.0.0",
"grunt-execute": "*",
"grunt-jscs": "^1.1.0",
"grunt-jsfmt": "git://github.com/ysimonson/grunt-jsfmt",
"grunt-md2html": "*",
"grunt-replace": "*",
"grunt-sauce-tunnel": "^0.2.1",
"grunt-saucelabs": "*",
"grunt-zip": "*",
"load-grunt-config": "^0.9.2",
"lodash": "~2.4.1",
"merge": "^1.1.3",
"publish": "~0.3.2",
"q": "~1.0.0",
"request": "~2.35.0",
"sauce-tunnel": "~2.0.6",
"saucelabs": "~0.1.1"
},
"licenses": [
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"files": [
"mithril.min.js",
"mithril.min.js.map",
"mithril.js",
"README.*"
]
}