This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"types": { | |
"Allée": "ALL", | |
"Avenue": "AV", | |
"Boulevard": "BD", | |
"Centre": "CTRE", | |
"Centre commercial": "CCAL", | |
"Immeuble": "IMM", | |
"Immeubles": "IMM", | |
"Impasse": "IMP", |