├── .gitignore ├── README.md ├── bower.json ├── bower_components ├── angular-bindonce │ └── bindonce.js ├── angular-vs-repeat │ └── src │ │ └── angular-vs-repeat.js ├── angular │ └── angular.js └── ngInfiniteScroll │ └── build │ └── ng-infinite-scroll.js ├── images ├── after-dom-update-using-timeout.png ├── angular-vs-repeat-cpu-profile.png ├── angular-vs-repeat-timeline.png ├── appending-separate-tables.png ├── checking-less-than-square-root.png ├── deep-copy-profile.png ├── each-row-linked.png ├── fast-first-batch.png ├── find-expensive-digest.png ├── idle-digest-cycle.png ├── in-code-table-generation.png ├── infinite-scroll.png ├── inspect-web-worker-heap.png ├── memory-dynamically-allocated.png ├── memory-preallocated.png ├── primes-array.png ├── primes.png ├── profile-chart.png ├── profile-heap-allocations.png ├── profile-heavy.png ├── profile-scope-method.png ├── profile-web-worker-heap.png ├── removed-try-catch.png ├── reuse-found-primes.png ├── small-batches-profile.png ├── small-batches-timeline.png ├── web-worker-cpu-profile.png └── web-worker-timeline.png ├── index.html └── primes.js /.gitignore: -------------------------------------------------------------------------------- 1 | bower_components/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/README.md -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/bower.json -------------------------------------------------------------------------------- /bower_components/angular-bindonce/bindonce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/bower_components/angular-bindonce/bindonce.js -------------------------------------------------------------------------------- /bower_components/angular-vs-repeat/src/angular-vs-repeat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/bower_components/angular-vs-repeat/src/angular-vs-repeat.js -------------------------------------------------------------------------------- /bower_components/angular/angular.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/bower_components/angular/angular.js -------------------------------------------------------------------------------- /bower_components/ngInfiniteScroll/build/ng-infinite-scroll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/bower_components/ngInfiniteScroll/build/ng-infinite-scroll.js -------------------------------------------------------------------------------- /images/after-dom-update-using-timeout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/after-dom-update-using-timeout.png -------------------------------------------------------------------------------- /images/angular-vs-repeat-cpu-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/angular-vs-repeat-cpu-profile.png -------------------------------------------------------------------------------- /images/angular-vs-repeat-timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/angular-vs-repeat-timeline.png -------------------------------------------------------------------------------- /images/appending-separate-tables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/appending-separate-tables.png -------------------------------------------------------------------------------- /images/checking-less-than-square-root.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/checking-less-than-square-root.png -------------------------------------------------------------------------------- /images/deep-copy-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/deep-copy-profile.png -------------------------------------------------------------------------------- /images/each-row-linked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/each-row-linked.png -------------------------------------------------------------------------------- /images/fast-first-batch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/fast-first-batch.png -------------------------------------------------------------------------------- /images/find-expensive-digest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/find-expensive-digest.png -------------------------------------------------------------------------------- /images/idle-digest-cycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/idle-digest-cycle.png -------------------------------------------------------------------------------- /images/in-code-table-generation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/in-code-table-generation.png -------------------------------------------------------------------------------- /images/infinite-scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/infinite-scroll.png -------------------------------------------------------------------------------- /images/inspect-web-worker-heap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/inspect-web-worker-heap.png -------------------------------------------------------------------------------- /images/memory-dynamically-allocated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/memory-dynamically-allocated.png -------------------------------------------------------------------------------- /images/memory-preallocated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/memory-preallocated.png -------------------------------------------------------------------------------- /images/primes-array.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/primes-array.png -------------------------------------------------------------------------------- /images/primes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/primes.png -------------------------------------------------------------------------------- /images/profile-chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/profile-chart.png -------------------------------------------------------------------------------- /images/profile-heap-allocations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/profile-heap-allocations.png -------------------------------------------------------------------------------- /images/profile-heavy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/profile-heavy.png -------------------------------------------------------------------------------- /images/profile-scope-method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/profile-scope-method.png -------------------------------------------------------------------------------- /images/profile-web-worker-heap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/profile-web-worker-heap.png -------------------------------------------------------------------------------- /images/removed-try-catch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/removed-try-catch.png -------------------------------------------------------------------------------- /images/reuse-found-primes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/reuse-found-primes.png -------------------------------------------------------------------------------- /images/small-batches-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/small-batches-profile.png -------------------------------------------------------------------------------- /images/small-batches-timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/small-batches-timeline.png -------------------------------------------------------------------------------- /images/web-worker-cpu-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/web-worker-cpu-profile.png -------------------------------------------------------------------------------- /images/web-worker-timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/images/web-worker-timeline.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/index.html -------------------------------------------------------------------------------- /primes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bahmutov/primes/HEAD/primes.js --------------------------------------------------------------------------------