Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
dcodesdev committed Sep 22, 2024
1 parent 472f931 commit 44df74b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/rustfinity-runner/src/command.rs
Original file line number Diff line number Diff line change
@@ -18,10 +18,11 @@ pub async fn run_code(code_base64: &str, challenge: &str) -> anyhow::Result<Stri

if let Some(test_binary_path) = test_binary_path {
let time_output = benchmark_time_min(&challenge, &test_binary_path).await?;

let memory_output = memory_benchmark(&challenge, &test_binary_path).await?;

output.push_str("\n---\n");
output.push_str("\n");
output.push_str("---");
output.push_str("\n");
output.push_str(time_output.as_str());
output.push_str("\n");
output.push_str(memory_output.as_str());

0 comments on commit 44df74b

Please sign in to comment.