Hey guys!
So I am pretty sure we all are big fans of Cinebench R15It allows us to check a CPU´s unadulterated raw CPU performance independently from non-optimized software for many cores or other shenanigans that would otherwise skew the results (i.e. non-CPU system bottlenecks in games, focus on clocks vs. cores, etc.) Aside from that aspect, it is also a nice stress / stability / thermal test to check any voltage and clock tuning you might be doing.
However, the thing that actually bothered me about CB15 is its lacking loop functionality. Say, if you want to do a continuous stress test to heat up your system or if youre hunting for the highest possible score at a given frequency (since there are naturally some variations between different runs). The only solution for that so far was to sit in front of your machine and press the "Run" button every. single. time.Plus, you would have to manually save or write down individual scores of each run to keep track of your data...
![]()
NO MORE!
I had noticed some while ago that Notebookcheck (I am sure we are all aware who that is) had started publishing Reviews including data from looped, continuous CB15 runs! This was mostly to check a particular Laptops´ capability to properly cool its CPU and keep its clocks steady.
This got me curious, naturally, so I contacted them and explained it would help IMMENSELY if they could share their newly found wisdom with me. I was in luck and they were indeed willing to spill their secrets![]()
So, enough general info, lets get to the gist of this...
What is this about exactly?
CB15 has an in-built command-line interface, which allows a user to operate the program via cmd and thus acquire full control over it, which is not possible through its regular graphical user interface (GUI). This includes the ability to loop the program with any or all included CPU and GPU tests (1 Core, x Core, OpenGL) and save the results into a specified output file![]()
Why hasn´t anyone thought of this before???
Well, while it WAS indeed known that CB15 has an inbuilt CLI, there is unfortunately no official documentation detailing the syntax necessary (meaning the exact commands) in order to get control over CB15 via CLI.
How is the syntax executed?
Pretty simple actually: Either you open up a cmd prompt and input the syntax manually every time you want to play around with CB15. OR, and this is my preferred solution, you input the syntax into a .bat file and just double-click on it to do its thing. So every time you want to modify the syntax, you just edit the .bat file with Notepad or similar editor and youre good to go![]()
What does the syntax look like?
Alright, now this is the heart of the matter. The syntax I have received by Notebookcheck´s Chief Technology Officer is not much to look at, but it gives us several options we did not have before. Here is an example:
for /l %%x in (1, 1, 13) do (
"C:\User\Programs\Cinebench R15\CINEBENCH Windows 64 Bit.exe" -cb_cpux >>"C:\Users\User1\Desktop\CB15.txt"
)
pause
What do the syntax commands do?
Ok, so i have highlighted some parts in different colors above in order to be able to explain what each part does.
Red = The three integers in the parentheses determine how a CB15 loop is run. The third and last number (in this case 13) determines how many times the loop is going to be executed. Unfortunately, I am not yet sure what the first and second integers exactly do. I have a suspicion that the second integer determines the first run of the loop that shall be saved in the output file (see below). As for the first integer, your guess is as good as mine! If you have any input on that, please enlighten me
Blue = Pretty straightforward, this is the location of the CB15.exe
Green = This part determines, which tests are supposed to be included in the CB Loop. There are a total of four possibilities to input here, which are:
-cb_cpu1 = runs only the Single Core test procedure
-cb_cpux = runs only the Multi Core test procedure
-cb_opengl = runs only the OpenGL test procedure
-cb_all = runs all test procedures sequentially
Yellow = The designated location of the output file and its format. So far I have sticked with .txt, but its possible that other formats would also work (like .xml, .html, .xls, etc.) Youre welcome to try and report back whats possible!![]()
Grey = "pause" in this case lets the CLI know that the Loop is finished, thus waiting for one last manual input for exit the CMD prompt. Thats it, youre done!
Drawbacks / Limitations
Admittedly, its not a perfect loop! What this syntax does is automatically launching and executing the selected tests, but CB15 is loaded up anew every time a run is executed. So you basically have a loop with (albeit short) intermittent pauses, during which CB15 is relaunched and run, thus your CPU is not loaded 100% all the time. However, this is worlds better than having to manually do this yourself! Especially when recording a bunch of runs to keep track of a lot of scores!
Unfortunately, the recorded scores are only saved in the output file, but not in CB15 itself. Since the inbuilt CB15 scores are in turn based on simple .txt files in the installation directory, this is easily fixable by manually transferring the output file results into separate .txt files to integrate into your personal CB scores databankIf you´re unsure about this, just check the "cb_ranking" folder in your CB15 installation directory and see for yourself!
Download
I have prepared an example .bat file and offer it as a .zip on my Box account. Just unzip and right-click to edit the file with Notepad (see syntax details above) to adjust it to your setup and preferences. After that, a double-click is enough and the magic beginsLean back and enjoy the automated CB15 Loop!
Link: https://app.box.com/s/x7yaf7waimuhe8vq8ach64pqqqj2c0bg
Credits and Disclaimer
I want to be absolutely clear about this:
ANY AND ALL CREDITS FOR THIS GO TO NOTEBOOKCHECK!
So, if its absolutely necessary that you distribute this information and example .bat file without pointing to this thread, at least make sure that you give credit to those awesome guys!!!
Now enjoy and let me know if you find any additional tweaks for the CB15 syntax![]()
Cinebench R15 Extreme & R20 Update
So after a bit of playing around and some research I was able to adjust the .bat file to work with CB20, as wellAs before, just open the .bat file with Notepad to edit it to your needs!
Aside from the primary command line options, I also found secondary ones to set Test Duration in seconds and to automatically accept the EULA. However, I haven't figured out yet how to properly implement those to be activated. Any input on this would be appreciated!
Link: https://app.box.com/s/edwkpc3m3kklb3wlc6dr3yrprfncjdi7
As for CB15 Extreme: You can just use the same .bat file as with the regular CB15, the commands are identical and work just the sameYou only need to adjust the file path to your CB15 Extreme folder and you're good to go!
Cheers
-
-
Vistar Shook Notebook Deity
Good one. Thanks.
Enviado de meu Pixel 2 usando Tapatalk -
Good stuff man!
Last edited by a moderator: Mar 31, 2018 -
This is a command line 'do' loop, here is a good explination;
https://jpsoft.com/help/do.htm -
Sent from my Xiaomi Mi Max 2 (Oxygen) using Tapatalk -
thattechgirl_viv Company Representative
Great info! Thanks!
Vasudev, Zoltan@zTecpc, Donald@Paladin44 and 1 other person like this. -
hey guys! Updated the OP to include CB15 Extreme and CB20
Any input on the secondary command line options for CB20 would be much appreciated!
Enjoy!Last edited: Mar 10, 2019Mr. Fox likes this. -
-
Sent from my Xiaomi Mi Max 2 (Oxygen) using TapatalkMr. Fox likes this. -
-
I've got some more, directly from Maxon themselves.
-
only issue im having is that i cant get the last two working, the first three work without a hitch.
jaug1337 likes this. -
Been trying for hours to make this work but am clearly doing something wrong. Are you guys using a Cinebench version from an installer or .Zip file? Just seeing if that has something to do with it as I'm using the only version I can find (.zip) and no mater where I extract I can't get the script to run.
Any help would be appreciated!
This is the error that I'm getting:
-
Sent from my Xiaomi Mi Max 2 (Oxygen) using TapatalkMr. Fox, littlezipp and hmscott like this. -
Attached Files:
Last edited: Oct 4, 2019 -
Cinebench R15 / R15 Extreme / R20 Command Line Syntax BAT - Loop & detailed Output
Discussion in 'Windows OS and Software' started by jaybee83, Mar 31, 2018.