Einkaufslisten anzeigen, Datenbankeinbindung
This commit is contained in:
31
express-server/node_modules/buffer-writer/benchmark/int-16-benchmark.js
generated
vendored
Normal file
31
express-server/node_modules/buffer-writer/benchmark/int-16-benchmark.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
var Writer = require(__dirname + '/../');
|
||||
|
||||
module.exports = function() {
|
||||
var writer = new Writer();
|
||||
writer.addInt16(-100000000);
|
||||
writer.addInt16(-1000);
|
||||
writer.addInt16(-1);
|
||||
writer.addInt16(0);
|
||||
writer.addInt16(1);
|
||||
writer.addInt16(1000);
|
||||
writer.addInt16(1000000000);
|
||||
writer.addInt16(-100000000);
|
||||
writer.addInt16(-100000000);
|
||||
writer.addInt16(-1000);
|
||||
writer.addInt16(-1);
|
||||
writer.addInt16(0);
|
||||
writer.addInt16(1);
|
||||
writer.addInt16(1000);
|
||||
writer.addInt16(1000000000);
|
||||
writer.addInt16(-1000);
|
||||
writer.addInt16(-1);
|
||||
writer.addInt16(0);
|
||||
writer.addInt16(1);
|
||||
writer.addInt16(1000);
|
||||
writer.addInt16(1000000000);
|
||||
};
|
||||
|
||||
if(!module.parent) {
|
||||
module.exports();
|
||||
console.log('benchmark ok');
|
||||
}
|
Reference in New Issue
Block a user