webplatformz / AngularWS

Angular-WS
0 stars 0 forks source link

Challenge 2 - TimeTable #5

Closed bmillo closed 9 years ago

bmillo commented 9 years ago

init:

computing first 1000 primes computing primes: 10231.704ms find:find: 10397.086ms Watchers: 3003

Remove trycatch in isPrime:

computing first 1000 primes computing primes: 4671.917ms find:find: 4822.520ms Watchers: 3003

using fast prime calc from stackoverflow:

computing first 1000 primes computing primes: 107.291ms find:find: 301.833ms Watchers: 3003

same state with 10000 as new reference:

computing first 10000 primes computing primes: 23259.928ms find:find: 25129.575ms Watchers: 30003

improved findPrime: computing first 10000 primes computing primes: 10.695ms find:find: 1725.516ms Watchers: 30003

same state with 100000 as new reference:

computing first 100000 primes computing primes: 178.580ms find:find: 17630.060ms Watchers: 300003

using bind once in table computing first 100000 primes computing primes: 179.036ms find:find: 12159.266ms Watchers: 3

remove angular repeat and create table in js: computing first 100000 primes computing primes: 179.357ms find:find: 6355.267ms Watchers: 2

Not using table at all (replace with div): computing first 100000 primes computing primes: 179.357ms find:find: 3262.665ms Watchers: 2