bio_img_developer

Developer Zone

Advanced Software Development with MATLAB

Posts 31 - 40 of 41

搜索结果: Testing

Small Fibs Eventually Become Large Fibs – Another exercise in scaling 6

OK, I had way too much fun writing that last blog post exploring algorithmic scaling. I want to explore this a bit more with a some "real" code, and what is more real than a function to calculate the... 更多内容 >>

Performance Review Criteria 3: Scales to the task 1

To scale or not to scale. That is the question. When talking about algorithmic complexity, the answer to said question is usually an important one. No matter what the constant factors are that affect your algorithm's speed, poor scaling performance severely limits the scope of the problems you can solve. How do you measure your code's runtime complexity? If you don't have a good method for this (or even if you do!) then once again the performance testing framework is on your side. I was amazed when I learned of this one weird trick to measure the complexity of my algorithms.... 更多内容 >>

Performance Review Criteria 2: Sticks to Solid Principles 2

We saw last time how we can use the performance testing framework to easily see the runtime differences between multiple competing algorithms. This can be done without needing to learn about the philosophies and guiding principles of the framework, indeed you don't even need to know that you are using a performance test framework or that the script you are writing is actually even considered a "test".... 更多内容 >>

Performance Review Criteria 1: Peer Comparison 4

Have you ever wondered how to compare the relative speed of two snippets of MATLAB code? Who am I kidding? Of course, we all have. I am just as sure that you already have a solution for this. I know... 更多内容 >>

Time for your Performance Review

There are so many cool features in 2016a. Live Scripts are huge. The App Designer is a game changer. The language and environment keeps moving ahead with many exciting features.Unfortunately I... 更多内容 >>

Tag like an Egyptian 1

Ajay Puvvala is my friend and colleague at the MathWorks. He also led the development of the TestTags feature we spoke about last post.Ajay, as per usual, made a great comment after last week's... 更多内容 >>

Tag, you’re it! 4

I have found that with any reasonably sized software project, sooner or later organization becomes important. As additional features and capabilities are introduced into a toolbox it becomes... 更多内容 >>

Tear Down This Wall! 4

I once faced a question from a friend who was perusing MATLAB documentation while implementing a test suite for some production software and found an example test which used the addTeardown method... 更多内容 >>

Encouragingly Parallel (Epilogue) 3

OK, so remember how we just went through the exercise (not just once, but twice) of how you can write a function to help parallelize your test runs? Well all of that still applies if you have not yet upgraded to MATLAB R2015a. However, if you do have R2015a you now get this out of the box because the TestRunner now has a runInParallel method!... 更多内容 >>

Encouragingly Parallel (Part 2) 1

Last time we showed that using a simple parfor loop we could reduce the runtime of a representative test suite from 6 to 7 minutes (when run serially) down to a minute and a half. However, we still faced some problems:... 更多内容 >>

Posts 31 - 40 of 41