Skip to content

Instantly share code, notes, and snippets.

@koszta
koszta / sails_performace.js
Last active August 29, 2015 14:10
Sails model performance tests
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
}
var assert = require('chai').assert,
userId,
Thread;
describe('Thread', function () {
describe('performance', function () {