added some complex fields to the log generator

This commit is contained in:
Spencer Alger
2014-05-13 09:43:02 -07:00
parent 6e2f97ef3f
commit f0f14b3bb5
4 changed files with 106 additions and 9 deletions

View File

@ -29,6 +29,9 @@ exports.make = function (startingMoment, endingMoment) {
stdev: dayMs * 0.15,
}, 'get');
sets.randomRam = new RandomList(require('./ram'));
sets.randomOs = new RandomList(require('./os'));
sets.astronauts = new RandomList(require('./astronauts').map(function (name) {
return name.replace(/\W+/g, '-').toLowerCase();
}));

View File

@ -0,0 +1,7 @@
module.exports = [
'osx',
'ios',
'win xp',
'win 7',
'win 8'
];

View File

@ -0,0 +1,24 @@
var gb = 1024 * 1024 * 1024;
module.exports = [
2 * gb,
3 * gb,
4 * gb,
5 * gb,
6 * gb,
7 * gb,
8 * gb,
9 * gb,
10 * gb,
11 * gb,
12 * gb,
13 * gb,
14 * gb,
15 * gb,
16 * gb,
17 * gb,
18 * gb,
19 * gb,
20 * gb,
30 * gb,
];