- [Help needed]Calculator benchmark: no entries for TI calcs
- 11 Sep 2013 03:39:47 pm
- Last edited by pier4r on 11 Sep 2013 08:06:08 pm; edited 3 times in total
Hi all!
I recently moved the data about the historical "Calculator add loop" benchmark (on the hpmuseum) on a wiki page, here: http://www.wiki4hp.com/doku.php?id=benchmarks:addloop .
Since the benchmark, originally, was not updated after 2011, i searched for new results and i found that no one has done it with TI last calculators plus some TI calculators don't use the "for" statement and for this reason are slow. (The Ti89 is way slower than Hp50g while they should be almost on the same level)
So, is anyone willing to do this benchmark and report the results in this topic?
Ideally we need result for: Ti nspire models (first and later ones), Ti89/Voyage 200, new TI-8X
The format is:
- Calculator used and firmware/software
- The count after 60 seconds of execution
- The program code used.
The pseudocode is:
Code:
For further comparisons there is another benchmark (just designed): http://www.wiki4hp.com/doku.php?id=benchmarks:middlesquare . Even for this any result will be appreciated.
Thanks a lot and sorry if the section is not the "right one"
Code:
edit: the community has just demanded a simpler benchmark (the middle square one seems not so clear). Do you mind to run also this: http://www.wiki4hp.com/doku.php?id=benchmarks:ultranaiveprimes ?
The code is:
Code:
The result format is:
Code:
The options are
Code:
I recently moved the data about the historical "Calculator add loop" benchmark (on the hpmuseum) on a wiki page, here: http://www.wiki4hp.com/doku.php?id=benchmarks:addloop .
Since the benchmark, originally, was not updated after 2011, i searched for new results and i found that no one has done it with TI last calculators plus some TI calculators don't use the "for" statement and for this reason are slow. (The Ti89 is way slower than Hp50g while they should be almost on the same level)
So, is anyone willing to do this benchmark and report the results in this topic?
Ideally we need result for: Ti nspire models (first and later ones), Ti89/Voyage 200, new TI-8X
The format is:
- Calculator used and firmware/software
- The count after 60 seconds of execution
- The program code used.
The pseudocode is:
Code:
Do a summation as fast as you can for 60 seconds.
Like:
sum:=0; While (true) { sum++ }
For further comparisons there is another benchmark (just designed): http://www.wiki4hp.com/doku.php?id=benchmarks:middlesquare . Even for this any result will be appreciated.
Thanks a lot and sorry if the section is not the "right one"
Code:
edit: the community has just demanded a simpler benchmark (the middle square one seems not so clear). Do you mind to run also this: http://www.wiki4hp.com/doku.php?id=benchmarks:ultranaiveprimes ?
The code is:
Code:
input: n
--
for k:=3 to n do {
for j:=2 to k-1 do {
if ( k mod j == 0 ) then {
j:= k-1 //so we exit from the inner for
}
}
}
The result format is:
Code:
A result is composed by the following list
- the device used plus the language used, eventual overclock, eventual custom firmware and so on.
- time elapsed for a given n in seconds (see below)
- the code used.
if the calculator is too slow, or limited, to compute a given n, then report "for n the computation
takes too much time". Conversely, if the calculator is too fast to compute a given n, then report
"for n the computation takes too little time, i skipped it"
The options are
Code:
n:= 100
n:= 1000
For very fast implementations:
n:= 10000
n:= 100000