Title: I don't think you are comparing apples to apples. · Issue #3 · bennadel/JavaScript-Demos · GitHub
Open Graph Title: I don't think you are comparing apples to apples. · Issue #3 · bennadel/JavaScript-Demos
X Title: I don't think you are comparing apples to apples. · Issue #3 · bennadel/JavaScript-Demos
Description: The issue is that your generateGrid (https://github.com/bennadel/JavaScript-Demos/blob/master/demos/render-large-datasets-angular2-reactjs/angular.htm#L238) method creates new set of objects each time it runs. Angular 2 then has to remov...
Open Graph Description: The issue is that your generateGrid (https://github.com/bennadel/JavaScript-Demos/blob/master/demos/render-large-datasets-angular2-reactjs/angular.htm#L238) method creates new set of objects each t...
X Description: The issue is that your generateGrid (https://github.com/bennadel/JavaScript-Demos/blob/master/demos/render-large-datasets-angular2-reactjs/angular.htm#L238) method creates new set of objects each t...
Opengraph URL: https://github.com/bennadel/JavaScript-Demos/issues/3
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"I don't think you are comparing apples to apples.","articleBody":"The issue is that your `generateGrid` (https://github.com/bennadel/JavaScript-Demos/blob/master/demos/render-large-datasets-angular2-reactjs/angular.htm#L238) method creates new set of objects each time it runs. Angular 2 then has to remove the DOM and recreate all of the items for the purposes of animation. So the Angular perf test is doing a lot more then it should.\n\nThere are two ways to fix it:\n1. change `gerenerateGrid` to return an array with same identities.\n1. change `*ngFor` (https://github.com/bennadel/JavaScript-Demos/blob/master/demos/render-large-datasets-angular2-reactjs/angular.htm#L88) to use `trackBy` See: https://github.com/angular/angular/blob/master/modules/angular2/src/common/directives/ng_for.ts#L86 (It will be in beta4)\n\nTho above should make Angular significantly faster.\n\nMore reading: https://github.com/mathieuancelin/js-repaint-perfs/issues/19\n","author":{"url":"https://github.com/mhevery","@type":"Person","name":"mhevery"},"datePublished":"2016-02-10T01:29:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/3/JavaScript-Demos/issues/3"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fc657a2f-1e57-a68a-d76c-eb4b59ca0772 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E914:14FF4:878BE2:B75680:6973C2A1 |
| html-safe-nonce | e3331392b34667c0a749106d025d336969822ba06e7ce49f7d26fe6021a90cd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTE0OjE0RkY0Ojg3OEJFMjpCNzU2ODA6Njk3M0MyQTEiLCJ2aXNpdG9yX2lkIjoiNzY0MDk4MDY2OTQzNzU1OTQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d1a7d0de8dd107e87216e90b62f864655d3c6dbf0e9620441f64a526f62269fe |
| hovercard-subject-tag | issue:132585161 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bennadel/JavaScript-Demos/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/996edfae7cd3ed809149bf5f0e77d3d104b111438a29c08792b164c3813aa28c/bennadel/JavaScript-Demos/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/996edfae7cd3ed809149bf5f0e77d3d104b111438a29c08792b164c3813aa28c/bennadel/JavaScript-Demos/issues/3 |
| og:image:alt | The issue is that your generateGrid (https://github.com/bennadel/JavaScript-Demos/blob/master/demos/render-large-datasets-angular2-reactjs/angular.htm#L238) method creates new set of objects each t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhevery |
| hostname | github.com |
| expected-hostname | github.com |
| None | acb8c988baca9616cb18bcb596629b823688faa1ef21a000061fe3616b4e3605 |
| turbo-cache-control | no-preview |
| go-import | github.com/bennadel/JavaScript-Demos git https://github.com/bennadel/JavaScript-Demos.git |
| octolytics-dimension-user_id | 563690 |
| octolytics-dimension-user_login | bennadel |
| octolytics-dimension-repository_id | 11567330 |
| octolytics-dimension-repository_nwo | bennadel/JavaScript-Demos |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 11567330 |
| octolytics-dimension-repository_network_root_nwo | bennadel/JavaScript-Demos |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af4eb23c75c70abd61c0b216b767faf4c9a30817 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width