Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30716

Re: Impact of implicit arrays...

From "Chris M. Thomasson" <invalid@invalid.invalid>
Newsgroups comp.lang.javascript
Subject Re: Impact of implicit arrays...
Date 2016-06-23 18:14 -0700
Organization n/a
Message-ID <nki1h6$mme$1@dont-email.me> (permalink)
References (6 earlier) <nkcf21$3ca$1@dont-email.me> <nkcf7i$3ca$2@dont-email.me> <nkdna9$54f$1@solani.org> <nkhjga$936$1@dont-email.me> <nkhjje$936$2@dont-email.me>

Show all headers | View raw


On 6/23/2016 2:16 PM, Chris M. Thomasson wrote:
> On 6/23/2016 2:14 PM, Chris M. Thomasson wrote:
> [...]
>> http://funwithfractals.atspace.cc/ct_root/ct_ui
> [...]
>> BTW, does this even work for you?
>
> I forgot to mention the times I get are for:
>
> Chrome:(51.0.2704.103 m)
>
>
>> FWIW, I always seem to get the following results on average:
>> _____________________________________
>> The Intrusive Test Completed in 3500ms
>>
>> The Functional Test Completed in 10000ms
>> _____________________________________


Something weird happens on Firefox (46.0.1). I am getting numbers like:
_____________________________________
The Intrusive Test Completed in 7100ms

The Functional Test Completed in 400ms
_____________________________________


Strange!


Also, I forgot to update the running total in the 
(ct_test_functional_add_0) function from:
________________________
function ct_test_functional_add_0(n) {
     var start = new Date().getTime();

     var a = [1, 2];
     var b = [1, .75];

     for (var i = 0; i < n; ++i) {
         // *** This line ***
         ct_functional_add_0(a, b);
     }

     var end = new Date().getTime();
     return end - start;
}
_____________________________



The line should be:
_____________________________
a = ct_functional_add_0(a, b);
_____________________________


I have fixed it in the webpage:

http://funwithfractals.atspace.cc/ct_root/ct_ui

http://funwithfractals.atspace.cc/ct_root/ct_ui/ct_test_worker.js

You probably need to refresh the page.

Sorry about that.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Impact of implicit arrays... "Chris M. Thomasson" <nospam@nospam.com> - 2016-06-11 10:52 -0700
  Re: Impact of implicit arrays... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-06-12 12:16 +0200
    Re: Impact of implicit arrays... "Chris M. Thomasson" <nospam@nospam.com> - 2016-06-13 12:23 -0700
  Re: Impact of implicit arrays... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-13 22:00 -0700
    Re: Impact of implicit arrays... "Chris M. Thomasson" <nospam@nospam.com> - 2016-06-14 17:17 -0700
      Re: Impact of implicit arrays... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-06-15 06:55 +0200
      Re: Impact of implicit arrays... "Chris M. Thomasson" <nospam@nospam.invalid> - 2016-06-14 22:19 -0700
      Re: Impact of implicit arrays... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-18 12:47 -0700
        Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-21 14:43 -0700
          Re: Impact of implicit arrays... "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-06-22 00:10 +0200
            Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-21 15:28 -0700
              Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-21 15:31 -0700
                Re: Impact of implicit arrays... "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-06-22 11:55 +0200
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-23 12:23 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-23 14:14 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-23 14:16 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-23 18:14 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-23 18:46 -0700
          Re: Impact of implicit arrays... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-21 17:35 -0700
            Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-21 21:08 -0700
              Re: Impact of implicit arrays... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-21 23:09 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-23 14:38 -0700
                Re: Impact of implicit arrays... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-24 07:16 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-06-25 18:03 -0700
                Re: Impact of implicit arrays... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-25 18:24 -0700
                Re: Impact of implicit arrays... "Chris M. Thomasson" <invalid@invalid.invalid> - 2016-07-01 13:52 -0700

csiph-web