summaryrefslogtreecommitdiff
path: root/src/Tools/Benchmark.scala
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2025-11-27 19:30:44 +0100
committernasr <nsrddyn@gmail.com>2025-11-27 19:30:44 +0100
commit356d86e2a9ca4145db17cbe8e5ee3e671239075f (patch)
treec31f143afd5e562072869c21d14e81d5377d697c /src/Tools/Benchmark.scala
parent5c90505fe7b6566049bead5e36a5e3f73d844413 (diff)
refactor: refactored folder structures and packaging for better clarity
Diffstat (limited to 'src/Tools/Benchmark.scala')
-rw-r--r--src/Tools/Benchmark.scala17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Tools/Benchmark.scala b/src/Tools/Benchmark.scala
deleted file mode 100644
index a0b388b..0000000
--- a/src/Tools/Benchmark.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.nsrddyn.tools
-
-class Benchmark {
- /*
- * Calculate the time between the start of the execution of the function and the end
- * */
- def measureTime(work: => Unit): Long = {
-
- val start = System.nanoTime()
- work
- val end = System.nanoTime()
- end - start
- }
-
- // TODO: map this to an actual precision value
- def measurePrecision(work: => Boolean, expectedResult: Boolean): Unit = if work == expectedResult then println(true) else println(false)
-}