Lower iterations for new typed object tests
This commit is contained in:
Родитель
764bfc388e
Коммит
6dd75d900f
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
function do_test() {
|
function do_test() {
|
||||||
// Hand tweaked to get something around 1 seconds on my laptop.
|
// Hand tweaked to get something around 1 seconds on my laptop.
|
||||||
var len = 192 * 100 * 1024;
|
var len = 192 * 10 * 1024;
|
||||||
var jsArray_in = new Array();
|
var jsArray_in = new Array();
|
||||||
var jsArray_out = new Array();
|
var jsArray_out = new Array();
|
||||||
for(var i = 0; i < len; i++) {
|
for(var i = 0; i < len; i++) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
function do_test() {
|
function do_test() {
|
||||||
// Hand tweaked to get something around 1 seconds on my laptop.
|
// Hand tweaked to get something around 1 seconds on my laptop.
|
||||||
var len = 192 * 100 * 1024;
|
var len = 192 * 10 * 1024;
|
||||||
var BDType = TypedObject.uint8.array(len);
|
var BDType = TypedObject.uint8.array(len);
|
||||||
var bdArray_in = new BDType();
|
var bdArray_in = new BDType();
|
||||||
var bdArray_out = new BDType();
|
var bdArray_out = new BDType();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче