kawasin73

Results 21 comments of kawasin73

Gemfile ```ruby group :development, :test do gem 'bullet' gem 'rspec-rails' gem 'factory_girl_rails' gem 'spring-commands-rspec' gem 'pry-rails' gem 'pry-byebug' end group :development do gem 'annotate' end group :test do gem 'shoulda-matchers'...

[golang でパフォーマンスチューニングする際に気を付けるべきこと](https://mattn.kaoriya.net/software/lang/go/20161019124907.htm) https://godoc.org/golang.org/x/perf/cmd/benchstat ``` go get -u golang.org/x/perf/cmd/... ```

Created latency tool https://github.com/kawasin73/htask/commit/362acf0334029bbe9e23f65f57df1aacb2f80bb2 bench command ``` go run cmd/latency/main.go -interval=1000 -n 1000000 -worker=0 go run cmd/latency/main.go -interval=1000 -n 1000000 -worker=1000 go run cmd/latency/main.go -interval=100000 -n 100000 -worker=0 go run...

## Performance `v0.4.0` ``` $ go version go version go1.10.1 darwin/amd64 $ system_profiler SPHardwareDataType Hardware: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro12,1 Processor Name: Intel Core i7 Processor...

## Performance `v0.4.1` ``` $ go test -bench=. -count=10 > bench.txt && benchstat bench.txt name time/op Scheduler_Set-4 1.52µs ± 1% ``` ``` $ go run cmd/latency/main.go -interval=1000 -n 1000000 -worker=0...

TODO - [x] チャネルを使わずに計測する - [ ] high resolution timer - http://jjy.nict.go.jp/tsp/research/labo3/gettime.html - https://github.com/ScaleFT/monotime

Created https://github.com/rust-lang/rust-bindgen/pull/2717 for bindgen compile error.

After I run `sudo servod -s SERVOV4P1-S-2202180925 -p 9067` in chroot, `lium servo control` succeeds.

## Btree cursor * MoveTo is separated functions. https://github.com/sqlite/sqlite/blob/cbaef88980f48c963da8788faadd429b64d72dca/src/btree.h#L250C1-L260C3 ``` int sqlite3BtreeTableMoveto( BtCursor*, i64 intKey, int bias, int *pRes ); int sqlite3BtreeIndexMoveto( BtCursor*, UnpackedRecord *pUnKey, int *pRes ); ``` next,...

## Schema index is stored in `Schema.idxHash` ``` struct Schema { int schema_cookie; /* Database schema version number for this file */ int iGeneration; /* Generation counter. Incremented with each...