Browse Source

Updated config

Edward Bramanti 10 years ago
parent
commit
f0d88c984b

+ 24 - 0
frameworks/JavaScript/koa/benchmark_config

@@ -0,0 +1,24 @@
+{
+  "framework": "koa",
+  "tests": [{
+    "default": {
+      "setup_file": "setup",
+      "json_url": "/json",
+      "update_url": "/update",
+      "port": 8080,
+      "approach": "Realistic",
+      "classification": "Micro",
+      "database": "MongoDB",
+      "framework": "koa",
+      "language": "JavaScript",
+      "orm": "Raw",
+      "platform": "nodejs",
+      "webserver": "None",
+      "os": "Linux",
+      "database_os": "Linux",
+      "display_name": "koa",
+      "notes": "",
+      "versus": "node"
+    }
+  }]
+}

+ 1 - 0
frameworks/JavaScript/koa/install.sh

@@ -0,0 +1 @@
+fw_depends nodejs

+ 1 - 1
frameworks/JavaScript/koa/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' hello.js
+sed -i 's|mongodb//.*/hello_world|mongodb//'"${DBHOST}"'/hello_world|g' app.js
 
 export NODE_ENV=production
 export NODE_HOME=${IROOT}/node-v0.12.0-linux-x64