I tested out the performance of the Beta3 API release and I noticed a huge difference in writing and deleting geometries in the database. I wrote two simple test programs using the Editing sample to write 25k points to a table then delete them. As my test numbers show, it takes almost 5x as long to Write and Delete the points in the beta3 version than it did in beta2. Is there a reason there is such a huge difference between the two APIs?The times from my test programs:
Beta2 version:
Testing with 25,000 points.
Finished inserting rows, time taken: 4.531s
Finished deleting all rows, time taken: 3.371s
Total time taken: 7.904s
Beta3 version:
Testing with 25,000 points.
Finished inserting rows, time taken: 19.388s
Finished deleting all rows, time taken: 18.013s
Total time taken: 37.404s
The testing programs were based on the Editing sample. They write to the a clean geodatabase/table. Beta2 version uses the raw buffer (allocate + memcpy) while Beta3 version uses PointShapeBuffer (Setup + GetPoints) for geometry creation. They both use table.Delete(row) to remove a row.