From 5fbe12a24eea592b6ec5f5d579600f599473cfea Mon Sep 17 00:00:00 2001 From: Grumme2 <agh@live.se> Date: Wed, 15 Apr 2020 15:30:26 +0200 Subject: [PATCH] bare2_1 --- examples/bare2.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/bare2.rs b/examples/bare2.rs index ce6acb2..ea00eba 100644 --- a/examples/bare2.rs +++ b/examples/bare2.rs @@ -78,18 +78,27 @@ fn main() -> ! { // What is the output in the ITM console? // // ** your answer here ** -// +// bare2 +// Start 45 +// End 561000215 +// Diff 561000170 // Rebuild and run in release mode // // > cargo build --example bare2 --release // // ** your answer here ** +// bare2 +// Start 2539927876 +// End 2543927884 +// Diff 4000008 // // Compute the ratio between debug/release optimized code // (the speedup). // // ** your answer here ** -// +// start : 1.77 *10⁻8 +// End : 45.35 +// diff: 140.25 // commit your answers (bare2_1) // // 3. *Optional -- GitLab