add performance test for stack