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

Most Recent

List a Student's COEs in the Web App
1/16/2024 7:46 AM | Kevin Donn
New EDFacts Reporting Available For All States
10/23/2023 4:08 PM | Kevin Donn
Retiring the Old MIS2000 Desktop App
9/25/2023 3:12 PM | Kevin Donn
EDFacts Report Exports Retain Filtering
8/28/2023 3:10 PM | Kevin Donn
Assessment Types 09-11
7/31/2023 3:13 PM | Kevin Donn
Delete Student in Web App
7/5/2023 10:29 AM | Kevin Donn
Multi-factor Authentication (MFA) Now Available
6/5/2023 4:21 PM | Kevin Donn
EDFacts Column Filtering
5/8/2023 4:15 PM | Kevin Donn
So Nice to See Everyone Again at NASDME
5/4/2023 10:45 AM | Kevin Donn
Come See Us at NASDME!
4/10/2023 4:30 PM | Kevin Donn
Copyright © 2024 Management Services for Education Data