<?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>rustである関数の実行時間を測定したいときがあったのでメモ 環境 rustc --version rustc 1.24.0-nightly (f8af59d95 2017-12-13)rustc-testクレートが必要なのでCargo.tomlに記述する。 extern crate test; use test::test::Bencher; struct Fx { a: f64, b: f64, dx: f64, f: fn(f64) -&gt; f64, } impl Fx { fn new(a: f64, b: f64, step: u64, f: fn(f64) -&gt; f64) -&gt; Fx…</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%2F19%2F000000&quot; title=&quot;Rust bench 実行時間測定 - 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-19 00:00:00</published>
  <title>Rust bench 実行時間測定</title>
  <type>rich</type>
  <url>https://e-tipsmemo.hatenablog.com/entry/2017/12/19/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
