≈ the.bay.news

MongoDB 8.3's arrayIndexAs cuts a map-with-index workaround's overhead by up to 31%

DEV Community
MongoDB 8.3's arrayIndexAs cuts a map-with-index workaround's overhead by up to 31%
I benchmarked MongoDB 8.3's new arrayIndexAs against the range-and-arrayElemAt workaround it replaces: 134ms versus 102ms server-side at 320,000 elements, a gap that shrinks to about 5% once ten clients compete for the same CPU cores.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.