benchmark on memory cost