filename | filesize (MB) | JSON.parse(ms) | simdjson.lazyParse (ms) | JSON.parse (GB/s) | simdjson.lazyParse (GB/s) | X faster |
---|---|---|---|---|---|---|
apache_builds.json | 0.13 | 0.338 | 0.182 | 0.38 | 0.70 | 1.86 |
canada.json | 2.25 | 16.942 | 8.096 | 0.13 | 0.28 | 2.09 |
citm_catalog.json | 1.73 | 3.750 | 4.926 | 0.46 | 0.35 | 0.76 |
github_events.json | 0.07 | 0.164 | 0.162 | 0.40 | 0.40 | 1.02 |
gsoc_2018.json | 3.33 | 4.929 | 6.228 | 0.68 | 0.53 | 0.79 |
instruments.json | 0.22 | 0.538 | 0.482 | 0.41 | 0.46 | 1.12 |
marine_ik.json | 2.98 | 15.325 | 11.152 | 0.19 | 0.27 | 1.37 |
mesh_pretty.json | 1.58 | 4.742 | 3.671 | 0.33 | 0.43 | 1.29 |
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
#!/bin/bash | |
REPO_PATH="/Volumes/MOZILLA/repos/geckoTRUNK" | |
REPO_VERSION="central" | |
LOCALE="es-ES" | |
echo "1- Updating main repo" | |
cd $REPO_PATH/mozilla-central | |
hg pull -u | |
echo "" |
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
var WebSocketServer = require('websocket').server; | |
var http = require('http'); | |
http.createServer(onHTTPMessage).listen(8888, "0.0.0.0"); | |
console.log('post-to-websocket --> Listening on 0.0.0.0:8888'); | |
function onHTTPMessage(req, res) { | |
console.log('post-to-websocket --> Received request for ' + req.url); | |
if(req.url == "/websocket") { | |
console.log("Petition accepted in /websocket"); |
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
/** | |
* |||||||| Flooding time! ||||||||||| | |
* Let's create a lot of websockets connections | |
* and try to flood the server. | |
* Invocation: | |
* $ node script.js <IP> <Port> <Number of conn> <Interval between starts> <Number of chars> <Interval> <Time to kill> | |
* both intervals are in milliseconds | |
*/ | |
var wsClient = require('websocket').client; |
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
#!/bin/sh | |
# vim: ts=8 | |
######################################################################### | |
# # | |
# MySQL performance tuning primer script # | |
# Writen by: Matthew Montgomery # | |
# Report bugs to: https://bugs.launchpad.net/mysql-tuning-primer # | |
# Inspired by: MySQLARd (http://gert.sos.be/demo/mysqlar/) # | |
# Version: 1.6-r1 Released: 2011-08-06 # |
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
#!/bin/sh | |
if [ $# -ne 2 ] | |
then | |
echo "Usage: `basename $0` /path/to/your/gecko/objdir DOM-component(push, apps…)" | |
exit $E_BADARGS | |
fi | |
DIR_SRC="$1" | |
DIR_SRC1="$DIR_SRC/dom/$2" |
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
'use strict'; | |
var request = require('request'), | |
ABOUT_URL = 'https://push-nv.srv.openwebdevice.com/willy'; | |
var debug = function(msg) { | |
var d = Date.now(); | |
console.error(Date(d).toLocaleString(), d, msg); | |
}; |
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
289 88 ab Abkhazia 7 A-Mobile | |
289 68 ab Abkhazia 7 A-Mobile | |
289 67 ab Abkhazia 7 Aquafon | |
412 88 af Afghanistan 93 Afghan Telecom Corp. (AT) | |
412 80 af Afghanistan 93 Afghan Telecom Corp. (AT) | |
412 01 af Afghanistan 93 Afghan Wireless/AWCC | |
412 40 af Afghanistan 93 Areeba | |
412 50 af Afghanistan 93 Etisalat | |
412 20 af Afghanistan 93 Roshan | |
276 01 al Albania 355 AMC Mobil |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Bing</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<link href="./css/style.css" rel="stylesheet" /> | |
<link rel="dns-prefetch" href="https://www.bing.com" /> | |
<link rel="prefetch" href="https://www.bing.com/" /> | |
<link rel="next" href="https://www.bing.com/" /> | |
</head> |