<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katakanan</author_name>
  <author_url>https://blog.hatena.ne.jp/katakanan/</author_url>
  <blog_title>e-tipsmemo</blog_title>
  <blog_url>https://e-tipsmemo.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラム</anon>
    <anon>Rust</anon>
  </categories>
  <description>multithreadが本当に効いているのかを確かめたいので シングルスレッドとマルチスレッドで実行時間を測定したかった。しかし、 ここのような e-tipsmemo.hatenablog.com cargo banchによる測定方法ではなんだかうまくいかなかったので シンプルに実行前後の時間の差分をとる補法で比較した。e-tipsmemo.hatenablog.comtime crateを使うのでCargo.tomlに追記する。 [dependencies] time = &quot;*&quot;main.rs extern crate time; use std::u32; use std::thread;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-tipsmemo.hatenablog.com%2Fentry%2F2017%2F12%2F31%2F000000&quot; title=&quot;Rust multithread 実行時間測定 - e-tipsmemo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/518S4PEcMpL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-31 01:00:00</published>
  <title>Rust multithread 実行時間測定</title>
  <type>rich</type>
  <url>https://e-tipsmemo.hatenablog.com/entry/2017/12/31/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
