wrk -t4 -c400 -d10s http://127.0.0.1:1337/
Running 10s test @ http://127.0.0.1:1337/
4 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 7.02ms 6.94ms 82.86ms 85.27%
| (function ( global, undefined ) { | |
| var months = ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro']; | |
| function monthName ( month, short ) { | |
| month = parseInt( month ) - 1; | |
| return short && month !== 4 ? months[month].slice( 0, 3 ) : months[month]; | |
| } | |
| global.monthName = global.monthName || monthName; | |
| } ( this )); |
| (function ( global, undefined ) { | |
| function slugify ( str ) { | |
| return str | |
| .toLowerCase() | |
| .replace( /á|à|â|ã/g, 'a' ) | |
| .replace( /é|è|ê/g, 'e' ) | |
| .replace( /í|ì|î/g, 'i' ) | |
| .replace( /ó|ò|ô|õ/g, 'o' ) | |
| .replace( /ú|ù|û/g, 'u' ) | |
| .replace( /ç/g , 'c' ) |
| (function ( global, undefined ) { | |
| var observer = {}, | |
| topics = {}; | |
| observer.on = function ( topic, fn ) { | |
| if ( !topics[topic] ) topics[topic] = []; | |
| topics[topic].push( fn ); | |
| return topics[topic].length - 1; | |
| }; | |
| observer.trigger = function () { | |
| var args = Array.prototype.slice.call( arguments ), |
| Object.defineProperty(Date.prototype,"diff",{ | |
| writable: false, configurable: false, enumerable: true, | |
| /** | |
| * Returns the difference between two Date objects. | |
| * @param {Date} The date to compare to. | |
| * @return {Object} | |
| * @throws {TypeError} | |
| */ | |
| value: function(date) { |