You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran my unofficial "iTunesLibrary" benchmark on my iPhone 6 yesterday, and performance with ForestDB is 40% slower than 1.2.1. SQLite is unchanged.
Using Instruments I tracked this down to a recent ForestDB change that replaces two large (64kbyte) stack-based buffers with malloced ones. Large malloc calls (>32kb) on Darwin go directly to the vm_allocate system call, which is a lot slower than for small allocations. Backing out this change fixed the performance regression.
The text was updated successfully, but these errors were encountered:
I ran my unofficial "iTunesLibrary" benchmark on my iPhone 6 yesterday, and performance with ForestDB is 40% slower than 1.2.1. SQLite is unchanged.
Using Instruments I tracked this down to a recent ForestDB change that replaces two large (64kbyte) stack-based buffers with malloced ones. Large malloc calls (>32kb) on Darwin go directly to the vm_allocate system call, which is a lot slower than for small allocations. Backing out this change fixed the performance regression.
The text was updated successfully, but these errors were encountered: