Added profiling for linear memory allocation: the number of backend/frontend stalls is high