Twinify 1.0.2 cuts mapping time and memory use by roughly 45% over initial release
Twinify, an open-source object-to-object mapping library for .NET, has released version 1.0.2 with notable performance and memory efficiency gains over its initial 1.0.0 release. Benchmarks run on .NET 10 using BenchmarkDotNet show that mapping 1,000 users now takes approximately 2,420 microseconds, down from 4,420 microseconds — a roughly 45% speed improvement. Memory allocation for the same workload dropped by about 44%, from 3.32 MB to 1.86 MB, also reducing garbage collection pressure. AutoMapper 16.2.0 was included as a reference and remains faster, completing the 1,000-user benchmark in around 1,108 microseconds with lower allocations. The Twinify developer plans further optimizations targeting nested mapping overhead, reflection on the hot path, and GC pressure in large mapping operations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in