Last active
August 29, 2015 14:08
-
-
Save chappjc/702a645b12040acfce81 to your computer and use it in GitHub Desktop.
Benchmarking v2 for CST-Link's challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%'test_all_numscan.m' | |
clc; | |
feature accel on; %'tune for speed' | |
%'low memory stress' | |
referee_timing( ... | |
referee_test_case(10^4), ... | |
@eval_and_loops_solution, ... | |
@single_sscanf_solution, ... | |
@approach1, ... | |
@char_and_sscanf_solution, ... | |
@extractIntsSprintfTextScan ... | |
); | |
%'medium memory stress' | |
referee_timing( ... | |
referee_test_case(10^5), ... | |
@eval_and_loops_solution, ... | |
@single_sscanf_solution, ... | |
@approach1, ... | |
@char_and_sscanf_solution, ... | |
@extractIntsSprintfTextScan ... | |
); | |
%'high memory stress' | |
referee_timing( ... | |
referee_test_case(10^6), ... | |
@eval_and_loops_solution, ... | |
@single_sscanf_solution, ... | |
@approach1, ... | |
@char_and_sscanf_solution, ... | |
@extractIntsSprintfTextScan ... | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment