Commit f3e22b8a authored by Alexandra Rogova's avatar Alexandra Rogova

Small changes to rss bench

parent 66c04430
...@@ -34,6 +34,7 @@ function init_server (){ ...@@ -34,6 +34,7 @@ function init_server (){
browser.close(); browser.close();
} else { } else {
console.log(msg); console.log(msg);
process.send(msg);
ws.close(); ws.close();
browser.close(); browser.close();
} }
......
100,3.61 items,time
1000,34.637 100,3.087
5000,174.397 1000,29.468
10000,298.66 5000,164.876
10000,333.428
...@@ -48,6 +48,8 @@ function runScriptSync(list, callback) { ...@@ -48,6 +48,8 @@ function runScriptSync(list, callback) {
}); });
} }
stream.write("items,time \n");
var to_run = [{scriptPath : './add_rss.js', args : ['-f' ,"./test_files/RSS/rss_100000.xml"], amount : 100000}, var to_run = [{scriptPath : './add_rss.js', args : ['-f' ,"./test_files/RSS/rss_100000.xml"], amount : 100000},
{scriptPath : './add_rss.js', args : ['-f' ,"./test_files/RSS/rss_50000.xml"], amount : 50000}, {scriptPath : './add_rss.js', args : ['-f' ,"./test_files/RSS/rss_50000.xml"], amount : 50000},
{scriptPath : './add_rss.js', args : ['-f' ,"./test_files/RSS/rss_10000.xml"], amount : 10000}, {scriptPath : './add_rss.js', args : ['-f' ,"./test_files/RSS/rss_10000.xml"], amount : 10000},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment