File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ mod tests {
33
33
```
34
34
35
35
<!-- Note the `test` feature gate, which enables this unstable feature. -->
36
- 不安定なベンチマークのフィーチャーを有効にするため 、 ` test ` フィーチャーゲートを利用していることに注意して下さい 。
36
+ 不安定なベンチマークのフィーチャを有効にするため 、 ` test ` フィーチャゲートを利用していることに注意して下さい 。
37
37
38
38
<!-- We've imported the `test` crate, which contains our benchmarking support. -->
39
39
<!-- We have a new function as well, with the `bench` attribute. Unlike regular -->
@@ -86,7 +86,7 @@ test result: ok. 0 passed; 0 failed; 1 ignored; 1 measured
86
86
* セットアップのコードを ` iter ` の外に移し、計測したい箇所のみを ` iter ` の中に書きましょう。
87
87
* それぞれの繰り返しでコードが「同じこと」をするようにし、集計をしたり状態を変更したりといったことはしないで下さい。
88
88
* 利用している外部の関数についても冪等にしましょう、ベンチマークはその関数をおそらく何度も実行します。
89
- * 内側の ` iter ` ループを短く高速にしましょう、そうすることでベンチマークの実行は高速になり、キャリブレータは実行の長さをより良い制度で補正できるようになります 。
89
+ * 内側の ` iter ` ループを短く高速にしましょう、そうすることでベンチマークの実行は高速になり、キャリブレータは実行の長さをより良い精度で補正できるようになります 。
90
90
* パフォーマンスの向上(または低下)をピンポイントで突き止められるように、` iter ` ループ中のコードの処理を簡潔にしましょう。
91
91
92
92
<!-- ## Gotcha: optimizations -->
You can’t perform that action at this time.
0 commit comments