8000 Performance difference when enabling auto-clone vs EasyCaching.InMemory · ZiggyCreatures FusionCache · Discussion #531 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Hi Jody,
first of all, thanks for the amazing work on FusionCache 🙌.

Hi Gioacchino, thanks appreciate that!

I’ve been experimenting with it and running some benchmarks to compare it with EasyCaching.InMemory.

From my tests, it seems that EasyCaching.InMemory has cloning (serialization on read) enabled by default, while FusionCache (of course) does not.
(this is just one run, I repeated the test multiple times with similar results)
With auto-clone disabled, FusionCache is 🚀 significantly faster than EasyCaching (in the chart this is the Default one).
With auto-clone enabled, FusionCache becomes much slower than EasyCaching.InMemory.
This makes sense, since cloning is not cheap, so it se…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gioce90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0