Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed duplicate zappa-engine benchmark.

  • Loading branch information...
commit 3b380d08ac23eaa95a6dba5d818b277793c656a7 1 parent cb7c8d7
@shimaore shimaore authored
View
3  benchmarks/run
@@ -26,6 +26,5 @@ bm(){
log ab $ABFLAGS $ADDR
-bm zappa-engine
-# bm zappa
+bm zappa
bm express
View
17 benchmarks/zappa-engine.coffee
@@ -1,17 +0,0 @@
-require('../src/zappa') ->
-
- z = @
-
- # @register '.coffee': require('coffeecup').adapters.express
-
- @get '/': ->
- @render 'index.jade', {foo: 'Zappa + Jade, no layout',layout:no}
-
- @get '/coffeekup': ->
- @render 'index.coffee': {foo: 'Zappa + CoffeeKup, no layout',layout:no}
-
- @get '/coffee': ->
- @render 'index.coffee', {foo: 'Zappa + CoffeeCup'}
-
- @get '/jade': ->
- @render 'index.jade', {foo: 'Zappa + Jade'}
View
13 benchmarks/zappa.coffee
@@ -1,8 +1,13 @@
require('../src/zappa') ->
- @register jade: @zappa.adapter 'jade'
-
+
@get '/': ->
+ @render 'index.jade', {foo: 'Zappa + Jade, no layout',layout:no}
+
+ @get '/jade': ->
@render 'index.jade': {foo: 'Zappa + Jade'}
-
+
@get '/coffeekup': ->
- @render 'index.coffee': {foo: 'Zappa + CoffeeKup'}
+ @render 'index.coffee': {foo: 'Zappa + CoffeeKup'}
+
+ @get '/coffee': ->
+ @render 'index.coffee': {foo: 'Zappa + CoffeeKup, no layout',layout:no}
Please sign in to comment.
Something went wrong with that request. Please try again.