Home of MIS2000 - We Speak Migrant

Two-and-a-half days, 1 line of code, 8X speed increase

I'm going to geek-out on this one a bit, so I apologize in advance. In writing the Update functionality of the new app a few years ago, it initially didn't run quite as quickly as the old app, so I spent quite a bit of time profiling it to find all the rough spots and get them smoothed out. I eventually got it to run quite a bit faster than the old app, patted myself on the back, and moved on. So I was a little surprised when one of our Arkansas users mentioned to Jay recently that they still use the old app for doing updates because it's just so much faster. Jay handed this comment to Jeff who brought it to me for consideration. He had already done some preliminary tests, what we call "benchmarks", to see if it also ran slowly for him, and sure enough, it did.

We decided to see if we could roll back in time to see if my observations about the speed weren't just some kind of sad hallucination. And nope, they weren't. It really was fast when I originally developed it. So what happened, and when?

Long story short, Jeff spent two-and-a-half days doing pretty much nothing but trying to figure out what had happened. And over the ensuing weekend, I had a flash of insight into what I thought the problem might be. He spent some time following up my hunch, and finally wound up adding a single line of code that increased our Update response processing speed by a factor of 8X. Sometimes it's like that.

So if you've been cussing your updates on the new app, help is on the way, in your next release.

Email Subscription

Stay connected and receive email updates with new MS/EdD blog posts.

 

Authors List

Jeff Gaiche 165 9
Marcy Bolt 134 5
Kevin Donn 3094 99

Most Recent

Two-and-a-half days, 1 line of code, 8X speed increase
2/17/2021 2:32 PM | Kevin Donn
General Purpose Heartbeat System
1/25/2021 4:14 PM | Kevin Donn
Reports for Single Students
1/4/2021 3:43 PM | Kevin Donn
Mass Enroll in the Web App
12/14/2020 4:05 PM | Kevin Donn
Assessment Interpretation and MSIX
11/23/2020 3:33 PM | Kevin Donn
COE Work Item Emails Now Go Out Immediately
11/2/2020 4:12 PM | Kevin Donn
Full COE Approvals in the Web App
10/14/2020 4:41 PM | Kevin Donn
Student Detail Section Visibility in the Web App
9/21/2020 4:01 PM | Kevin Donn
Student Scrolling in the Web App
8/31/2020 4:31 PM | Kevin Donn
MSIX Invalid Values Reports
8/26/2020 11:32 AM | Kevin Donn
Copyright © 2021 Management Services for Education Data