Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
fix: Token per seconds display for port2
Browse files Browse the repository at this point in the history
  • Loading branch information
mtb0x1 committed Aug 28, 2023
1 parent 7874c59 commit 5c36f15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions port2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,9 @@ pub fn main_wasm(
log::info!("\n");
log::info!("--------------------------------");
log::info!(
"elapsed: {}.{:03} s, avg tok/MilliSeconds?: {}",
"elapsed: {} ms, avg tok/Second: {}",
elapsed,
elapsed,
(steps - 1) / elapsed as usize
((steps - 1) / (elapsed as usize/1000))
);
result
}
Binary file modified www/pkg_port2/port2_bg.wasm
Binary file not shown.

0 comments on commit 5c36f15

Please sign in to comment.