Shinjuku Mokumoku Programming #55 https://shinjuku-moku.connpass.com/event/135503/
![Perl::Lint is over, for the present](https://cdn-ak-scissors.b.st-hatena.com/image/square/7221f7ddceff9b987b9fb791e41e603d1ccf33bc/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fyapc2014copy-141024065805-conversion-gate02-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)
Shinjuku Mokumoku Programming #55 https://shinjuku-moku.connpass.com/event/135503/
Use Docker for development Prerequisites Docker >= 1.3 Golang >= 1.3 Working DOCKER_HOST (non-Linux users see boot2docker) Installation $ go get github.com/nitrous-io/tug Create a Tugfile web: bin/web -p $PORT postgres: docker/postgres:9.3.5 redis: docker/redis:2.8.9 If any command starts with docker/ the rest will be interpreted as a docker image tag. Start the app $ tug start postgres | fixing p
もうなんかこの際マジで言わせていただくんですけど、知ってるか知らないか分かりませんが世の中にはすごい頻度で呼ばれうるDOMイベントって言うのがいくつかあるわけですよ 例えば scroll mousemove, touchmove devicemotion 辺りですよ。 で、高頻度で呼ばれるって言うことは必然的に処理量が増えるって分かりますよね?????while(1) {}じゃないとはいえUIスレッドに十分影響を与えうる頻度で呼ばれる訳です。分かりますよね???????? そうなると当然そのイベント内で重い処理を行えば人間が認識できるレベルでのレスポンス遅延が起きるっていうのはご理解できますよね? 重い処理っていうのはまぁ想像出来るとは思うんですが例えばよくあるのが DOMのレイアウトプロパティへのアクセス offsetTop、offsetLeft、offsetWidth、offsetHe
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く