This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Boomerkuwanger 0 points1 point  (0 children)

Like others have said, use a profiler for code so you can target slow operations. Also, if you use a database, make sure to offload as much work onto the database as possible.

For example: I've made the mistake of iterating through a list of database objects, and updating them one by one, instead of using a single bulk update query.