Get unlimited access
Open in app
Home
Notifications
Lists
Stories

Write
Angelo Hulshout 🇳🇱🇮🇹
Angelo Hulshout 🇳🇱🇮🇹

May 5, 2021

·
1 min read

Only very late did it occur to someone that we basically had an unnecessary call in there due to a function call that returned a list that was then evaluated by a LINQ query. By converting to a list, the whole queue object was deserialized into an object, then immediately serialized into a queryable object again. This process relies on loading the whole object into the system RAM each and every time — potentially hundreds of times per minute. That doesn’t matter as long as you have a small queue to load into RAM, but then it quickly has to rely on out-of-memory storage on the HDD.

3 Lines of Code That Really Messed Up My Day
612
9

keypressingmonkey

Which is why instead of using a debugger it pays off to use a profiler when looking at performance issues.

--

--

More from Angelo Hulshout 🇳🇱🇮🇹

CEO at Schinchoku and software architect at Delphino Consultancy B.V. — writing about software, and about the Shinchoku startup.

Love podcasts or audiobooks? Learn on the go with our new app.

Try Knowable

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Angelo Hulshout 🇳🇱🇮🇹

Angelo Hulshout 🇳🇱🇮🇹

CEO at Schinchoku and software architect at Delphino Consultancy B.V. — writing about software, and about the Shinchoku startup.

More from Medium

Bernardo Fanti

Bernardo Fanti

Why Won’t The F’in WiFi Work

Elaine Giles

Elaine Giles

A Worthy Addition to Any Presenter’s Toolkit … For FREE

Aroundthecoin

Aroundthecoin

in

Around The Coin

Sergey Gorbunov, CEO and Co-Founder of Axelar

TitanX Project

TitanX Project

TitanX Charts usher in a new era

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable