Skip to content

Instantly share code, notes, and snippets.

# sketch code, may require fixes
Logic = require 'logic-solver'
# small cell
rule_9_list = []
for b_x in [0 ... 3]
for b_y in [0 ... 3]
for s_x in [0 ... 3]
for s_y in [0 ... 3]
list = []
for i in [1 .. 9]
class Struct {
a:i32;
}
export function report(): i32 {
let res = 0;
let arr:Struct[] = [];
for(let i=0;i<10000;i++) {
arr.push(new Struct());
}
(module
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$viii (func (param i32 i32 i32)))
(type $FUNCSIG$i (func (result i32)))
(module
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$viii (func (param i32 i32 i32)))
(type $FUNCSIG$i (func (result i32)))
(module
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
(type $FUNCSIG$v (func))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$viii (func (param i32 i32 i32)))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$iiiii (func (param i32 i32 i32 i32) (result i32)))
Running 30s test @ http://127.0.0.1:80/locations/1/avg
2 threads and 100 connections
Thread calibration: mean lat.: 2.431ms, rate sampling interval: 10ms
Thread calibration: mean lat.: 2.408ms, rate sampling interval: 10ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 2.44ms 833.21us 9.80ms 69.68%
Req/Sec 10.55k 1.57k 16.44k 73.90%
Latency Distribution (HdrHistogram - Recorded Latency)
50.000% 2.45ms
75.000% 2.96ms
[package]
name = "wtf"
version = "0.1.0"
authors = ["vird <[email protected]>"]
[dependencies]
tokio-proto = "0.1.1"
tokio-minihttp = { git = "https://github.com/tokio-rs/tokio-minihttp" }
tokio-service = "0.1.0"
futures = "0.1.14"
log_on_port # npm i -g hu2prod/log_on_port
/root/.nvm/versions/node/v6.6.0/bin/log_on_port -> /root/.nvm/versions/node/v6.6.0/lib/node_modules/log_on_port/bin/log_on_port
> [email protected] install /root/.nvm/versions/node/v6.6.0/lib/node_modules/log_on_port/node_modules/fy
> iced -o lib -c src
/usr/lib64/node_modules/iced-coffee-script/lib/coffee-script/command.js:118
throw err;
^
03:37:06 : Launching dev server on port 4444
└── default (5 files, 7.5 kB)
index.jsx
App.jsx
App.css
logo.svg
index.css
└── fusebox-hot-reload (1 files) 1.8 kB
└── fusebox-websocket (1 files) 2.8 kB
└── events (1 files) 9.8 kB
Name Is optimized DBmon fps range
Angular true 28 -- 31
Angular light false 35 -- 38
Angular light true 38 -- 40
Angular 2.0 Alpha true 38 -- 40
Backbone false 25 -- 27
Backbone marionette false 23 -- 25
Backbone marionette true 39 -- 43
Cito t7 false 42 -- 45
Cycle.js snabdom true 31 -- 34