ぷろみん

プログラミング的な内容を扱ってます

rust

rust-trace-event-profilerでtokio::runtime

最近のRustではThread制御までライブラリに任せられるようなので、その機能を使って前回作ったTrace Eventを作るやつで挙動を可視化してみました。 let mut rt = tokio::runtime::Builder::new() .core_threads(6) .threaded_scheduler() .build() .unwrap()…