Commit graph

21 commits

Author SHA1 Message Date
Lee Bousfield
597638ded6 Remove unused http variable
ESLint now runs fine
2016-03-12 17:53:14 -07:00
Slobodan Stojanovic
6d3b81fe50 Update benchmark, remove --harmony flag and use arrow functions
closes 

Fix benchmark middleware - in promises body is on ctx not on this
2015-10-28 14:26:04 -07:00
Felix Becker
ebb4850709 Remove co dependency
closes 
closes 

Change tests to use plain functions and promises

Add test

return promise in middleware

Change benchmarks to use plain functions and promises

typeerror
2015-10-27 16:24:25 -07:00
fundon
db7da4eb4f update bench case
closes 
2015-10-25 12:48:26 -07:00
jongleberry
2e8cdab8bc support async functions
closes 
closes 
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 
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 2013-08-22 17:58:51 -07:00
TJ Holowaychuk
9e167c5ed9 Initial commit 2013-08-17 00:15:57 -07:00