Project Temporal
Temporal is an academic-geared benchmarking tool that finds all base 2 numbers that are composed entirely of even numbers in a specified timeframe using a number of CPU cores. The default configuration is 60 seconds with all of your CPU threads.
An example of a valid base 2 number composed entirely of even numbers is 2^11 or 2048, as "2", "0", "4", and "8" are all themselves even numbers.
It's intended to be more of a fun project than anything useful in the real-world, but it does make a good benchmark for comparing CPUs :)
- Windows*, Linux** or macOS***
- Java 11 Runtime or Greater
* Developed and Tested on Windows 10 21H2 64-bit
** Developed and Tested on Ubuntu 22.04 LTS 64-bit
*** Not Tested on macOS, but it should work as it's pure Java with no dependencies.
-
Ability to custom configure time to run and number of CPU threads used
-
A simple graphical user interface that updates in real-time with time remaining and found valid powers of two
-
An after-benchmark results window that displays total amount of powers of two processed, as well as the single largest power of two processed
-
A headless mode that runs purely in a command line interface, ideal for benchmarking on a headless operating system
-
Double-click the
Temporal.jar
file provided, or open up a terminal and typejava -jar Temporal.jar
(no args in the terminal still runs the GUI) -
Click the "Start" button and wait until the benchmark finishes and gives you a score
-
Optionally, change the time to run and thread-count parameters
-
Open a terminal and type
java -jar Temporal.jar x
wherex
is the time to run, for examplejava -jar Temporal.jar 60
will run it for 60 seconds. -
Optionally, add a second argument for the amount of cores. For example,
java -jar Temporal.jar 60 16
will run the program for 60 seconds with 16 CPU threads. If the second argument is left blank, your CPUs core/thread count is used -
Wait until the benchmark finishes and gives you a score