thing is a list of items with a couple of string attributes and an array of other objects. Something like:
name: "Thing 1",
type: "Type A",
items: [ ... many items here ...]
An item is something like:
name: "Item 1",
dateTime: "2017-03-20 19:34",
tags: [... a few strings here...]
An object that takes those 2/3 seconds to load has around 50 items. So, it's not a huge structure.
The "beefy" code simply groups the items by tag, and there are around 10 different tags. The result is something like:
"Tag 1": [item1 item2 ...],
"Tag 2": [item3 item4 ...],
Unfortunately I have no idea how to profile Angular applications, I think I'll have to invest time on that. I suspect that the 2/3 seconds delay is happening before the
push to the new page even happens.
Thank you for helping with this.