mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.benchmarks
git-svn-id: svn://ultimatepp.org/upp/trunk@13441 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d5eff1fa4e
commit
c6f96cd1de
1 changed files with 9 additions and 0 deletions
|
|
@ -209,6 +209,15 @@ CONSOLE_APP_MAIN
|
|||
dst[i & 15].xxx = src[i & 15].xxx * n;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
int n = Random();
|
||||
RTIMING("Add");
|
||||
for(int i = 0; i < N; i++) {
|
||||
dst[i & 15].xxx = src[i & 15].xxx + n;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
RTIMING("Zero 10000");
|
||||
for(int i = 0; i < N; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue