Benchmark for C.BASICcasio fx-9860giiC.BASIC
Posted 26 October 2020 - 08:59 PM
Individual tests in CBTST are organized in 6 pages of 8 points each, and the pages are arranged in a matrix, which allows you to have quick access to all the information:
page 1row.1column(items 1...8); page 1.2(i=9...16); page 1.3(i=17...24);
page 2row.1column(items 25...32); page 2.2(i=33...40); page 2.3(i=41...48);
In this version, the program measures the execution time of specified blocks, functions, and commands. Results that are shorter than 1_ms are represented as a frequency "1÷sec". Results that are slower than 1_ms are shown as time "sec". Measured values are rounded to four significant digits according to a special rule, such as:
12574_1÷sec ➝ 12550_1÷sec
12575_1÷sec ➝ 12600_1÷sec and so on.
This allows you to slightly average fluctuations in the speed of the calculator, which is not constant. To improve the accuracy of measurements, the empty loop execution time is subtracted from the total result, and we get the net time. For example, if you change the Wait count parameter from 0 to 10, the empty "for...next" loop slows down much more than the memory access functions. I also used the Ticks% (2^15_ticks=1_sec) function for measurements, so calculator models without this feature are not suitable for this program.
The top photos show mode 1. The numbers indicate relative deviations in speed compared to the best results taken from the last few versions of C.BASIC. The " + "sign means that the current version for this test is faster, the" - " sign means slower. The lower photos show mode 2, where you can get detailed information about the content of the test.
Mode 1 functions:
⇐ ⇓ ⇒ changing a row or column to go to a new page.
... (hold) viewing an item according to its number
 (hold) view the last active item
[.],[1...8] entering the specified point in mode 2
[.], entering the active point in mode 2
pause the program to save batteries, as well as a menu of additional functions
(hold) hint about additional functions for the current mode
(hold) a hint that describes the actions listed above
Here, "help" menu and "menu-pause" are shown on the third image. Information display options are shown next. The square sign indicates that this test is blocked due to a bug in the current version of C.BASIC. At your discretion, you can temporarily disable some tests, then the results of calculations will not be displayed.
The CBTESTv2 folder contains 15 files. Main program - CBTST.
The CBzAT2 folder contains 25 files. You don`t need to upload them, they are templates-samples for tests.
Posted 26 October 2020 - 09:08 PM
help (prompts) for actions in mode 1:
,[1...8] recalculate (restore) the selected item
,  recalculate (restore) the active item (this is the one that was used in the last user view or action)
, recalculate all results on the current page
[.], remove the active item information from the display. The ban is canceled automatically when this item is recalculated
1 resuming the program
2 all current results are saved as the new benchmarks against which the comparison will be performed
3 only the best results are saved as a new benchmark
important: only the results shown on the display are saved. Hidden items do not participate in these actions.
The next time you run the program, the saved results disappear. To save the new benchmark permanently, in the CBTST81 subroutine, delete the List_8 that is located before the "Return" command. Then, from the "shift MAT shift LIST" menu, copy the List 8 and paste it to the place of the deleted list. The list text after the "Return" command is a backup record of the old benchmark, just in case.
4 recalculate all pages. Hidden (deleted) items will appear again
5 hide results on the current page (this does not apply to page 1.1)
6 hide results on all pages
7 exit the program in "pause" mode
Then, select any page ⇐ ⇓ ⇒and enter mode 2 by pressing [•],[1...8] or [•],.
help (prompts) for actions in mode 2:
⇐ ⇓ ⇒ changing pages, the active item does not change ( and [•] pressings are not performed or canceled if they were selected before)
or view items on the current page
,  recalculate (restore) the current item
[ • ], delete (hide) the current item
[1...8] go to the specified item. However, the and [•] pressings are not performed or canceled if they were selected before
return to mode 1
actions as in mode 1.
The CBTST3 program is used for testing outside the main program. When prompted for "TEST=1..48?", enter the test number, . First, you should run tests 1 and 2 here, since all other calculations are based on them. Otherwise, the results will be incorrect.
, stops program. You can determine how the number matches the location on the page ROW|COL as follows:
The CBTST83 subroutine is used to block problem tests in the main program. For example, the entry 0➝List_15[N] excludes test with the specified number from calculations.
Edited by Hlib2, 27 October 2020 - 06:09 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users