Commit graph

17 commits

Author SHA1 Message Date
jongleberry
2e8cdab8bc support async functions
closes #530
closes #415
2015-10-22 16:34:59 -07:00
Tejas Manohar
93ade5e2dd refactor Application into a class 2015-10-13 01:19:42 -05:00
Tejas Manohar
1a55281fee fix benchmarks- cant use const there 2015-10-11 21:22:33 -07:00
Tejas Manohar
ed19e67055 refactor to use ES6 template strings
replace string interp w/ templates in core

use string templating es6 in benchmarks

template strings in tests dir
2015-10-11 21:22:33 -07:00
Tejas Manohar
9f27c1c414 refactor to use ES6 const
change var to const for static require()'d modules

make constant var references in app use const keyword

refactor context to use es6 constants

refactor request to use es6 constants, let block-scope coming next

use const in response object for static refs

make context tests use es6 constants

experimental unit tests -> const

use const for static references in unit test over req

use const for static refs in res tests

update app tests to use const for static refs

make the context test use es6 constants for static refs

use constants in the README
es6 constants seem to work in --harmony on 0.12 too

use const's for immutable refs in benchmarks

ensure all JS files have blank newline at top

add newline to bottom of file where missing

add a webchat freenode link to irc channel

no need to assign error in catch{}-able test

app.silent option to turn off err logging

keep test env logging for backwards-compat
2015-10-11 21:22:33 -07:00
Tejas Manohar
0b1b49cb8a use strict in all .js files
closes #508
2015-10-11 16:08:32 -07:00
Tejas Manohar
ea4754e332 ensure all JS files have blank newline at top 2015-10-05 18:18:03 -05:00
dead_horse
c021b4610d add experimental to benchmark 2015-04-23 18:36:02 +08:00
fundon
3ac33a5c44 use harmony flag work with iojs 2015-02-05 16:29:32 +08:00
Jonathan Ong
3c9dcde11b benchmark: use generator delegation 2013-12-24 22:12:48 -08:00
TJ Holowaychuk
7da0a609db use 8 threads for benchmarks 2013-12-22 08:56:34 -08:00
TJ Holowaychuk
91cdfefc4f fix benchmarks for wrk(1) 3.x 2013-11-12 13:15:54 -07:00
TJ Holowaychuk
2d35cdff50 add new style middleware support through @jonathanong's koa-compose patch 2013-11-07 16:15:47 -08:00
TJ Holowaychuk
7db6987ccc change benchmark port 2013-08-28 16:27:34 -07:00
TJ Holowaychuk
261acbde88 add .query memoization for ultimate hello world benchmarks 2013-08-22 18:06:16 -07:00
TJ Holowaychuk
933ecd8747 add memoization to .path. Closes #17 2013-08-22 17:58:51 -07:00
TJ Holowaychuk
9e167c5ed9 Initial commit 2013-08-17 00:15:57 -07:00