Home | History | Annotate | Download | only in bench

Lines Matching refs:objects

34  * This benchmark creates and deletes objects in stack order
54 A* objects[kMaxObjects];
73 delete objects[count-1];
76 objects[count] = new A;
81 delete objects[i];
90 * This benchmark creates objects and deletes them in random order
110 SkTScopedPtr<A> objects[kMaxObjects];
114 if (NULL == objects[idx].get()) {
115 objects[idx].reset(new A);
117 objects[idx].reset(NULL);
127 * This benchmark creates objects and deletes them in queue order
145 A* objects[M];
149 objects[i] = new A;
152 delete objects[i];