You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was experimenting a bit with an On Humanstats;. With a test program like
#-
On fewerstats,0;
Off threadstats;
CFunction f;
Symbol x;
Local test = f(1);
.sort
#do i = 1,9
Identify f(?x) =
#do j = 1,11
+ f(?x,`j')
#enddo
;
.sort:iter `i';
#enddo
.end
which produces stats:
Time = 0.00 sec Generated terms = 1 ( 0.0 K )
test Terms in output = 1 ( 0.0 K )
Bytes used = 40 ( 0.0 KB)
Time = 0.00 sec Generated terms = 11 ( 0.0 K )
test Terms in output = 11 ( 0.0 K )
iter 1 Bytes used = 288 ( 0.3 KB)
Time = 0.00 sec Generated terms = 121 ( 0.1 K )
test Terms in output = 121 ( 0.1 K )
iter 2 Bytes used = 3016 ( 2.9 KB)
Time = 0.00 sec Generated terms = 1331 ( 1.3 K )
test Terms in output = 1331 ( 1.3 K )
iter 3 Bytes used = 33024 ( 32.2 KB)
Time = 0.00 sec Generated terms = 14641 ( 14.6 K )
test Terms in output = 14641 ( 14.6 K )
iter 4 Bytes used = 363112 (354.6 KB)
Time = 0.01 sec Generated terms = 161051 (161.1 K )
test Terms in output = 161051 (161.1 K )
iter 5 Bytes used = 3994080 ( 3.8 MB)
Time = 0.10 sec Generated terms = 1771561 ( 1.8 M )
test Terms in output = 1771561 ( 1.8 M )
iter 6 Bytes used = 43934728 ( 41.9 MB)
Time = 1.74 sec Generated terms = 19487171 ( 19.5 M )
test Terms in output = 19487171 ( 19.5 M )
iter 7 Bytes used = 483281856 (460.9 MB)
Time = 22.95 sec Generated terms = 214358881 (214.4 M )
test Terms in output = 214358881 (214.4 M )
iter 8 Bytes used = 5316100264 ( 5.0 GB)
Time = 286.22 sec Generated terms = 2357947691 ( 2.4 B )
test Terms in output = 2357947691 ( 2.4 B )
iter 9 Bytes used =58477102752 ( 54.5 GB)
I was wondering about not printing anything for numbers < 1000(1024), but I think I prefer the consistency of always printing something, even if that means you have "0.0 K" or "0.0 KB".
The bytes numbers are KiB, MiB etc. Should we print KiB or KB?
Any thoughts? I would propose to have this on-by-default for FORM5.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was experimenting a bit with an
On Humanstats;. With a test program likewhich produces stats:
I was wondering about not printing anything for numbers < 1000(1024), but I think I prefer the consistency of always printing something, even if that means you have "0.0 K" or "0.0 KB".
The bytes numbers are KiB, MiB etc. Should we print KiB or KB?
Any thoughts? I would propose to have this on-by-default for FORM5.
Beta Was this translation helpful? Give feedback.
All reactions