added profiling with gperftools