Skip to content

Instantly share code, notes, and snippets.

View darrachequesne's full-sized avatar

Damien Arrachequesne darrachequesne

  • Lille, France
View GitHub Profile
// npm i benchmark msgpack-lite notepack socket.io-parser
var Benchmark = require('benchmark');
var suite = new Benchmark.Suite;
var msgpackLite = require('msgpack-lite');
var notepack = require('notepack');
var parser = require('socket.io-parser');
var encoder = new parser.Encoder();
{
"types": {
"Allée": "ALL",
"Avenue": "AV",
"Boulevard": "BD",
"Centre": "CTRE",
"Centre commercial": "CCAL",
"Immeuble": "IMM",
"Immeubles": "IMM",
"Impasse": "IMP",