Performance comparison

Now that we have built the same application using a couple of different TypeScript compatible libraries, we can compare apples with apples in terms of performance. Each framework is loading an HTML page, which will load the required libraries, along with the bootstrap.css files, and any dependent packages. Each sample application is doing exactly the same things, which include the following:

  • Loading an array of objects to use as the default collection
  • Rendering a single view for each of the objects in the collection
  • Combining each single view into a view for the entire collection
  • Rendering a title element, and a selected item element to show which item is currently selected
  • Attaching the generated HTML to the DOM ...

Get Mastering TypeScript 3 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.