The `flatten` function used `concat` and `slice` which created a lot of intermediary object allocations. Because `flatten` is used from query any benchmark which used query would exhibit high minor GC counts. PR Close #30468
PR Close #29329
This new tests keeps track of the known side effects for Angular ES modules. PR Close #29329