Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Mynij-unit-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alexandra Rogova
Mynij-unit-tests
Commits
f3e22b8a
Commit
f3e22b8a
authored
Nov 06, 2019
by
Alexandra Rogova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to rss bench
parent
66c04430
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
add_rss.js
add_rss.js
+1
-0
results/rss.csv
results/rss.csv
+5
-4
rss_bench.js
rss_bench.js
+2
-0
No files found.
add_rss.js
View file @
f3e22b8a
...
@@ -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
();
}
}
...
...
results/rss.csv
View file @
f3e22b8a
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
rss_bench.js
View file @
f3e22b8a
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment