Last active
September 24, 2015 16:27
-
-
Save ShakedDovrat/62db9e8f6883c5e28fc0 to your computer and use it in GitHub Desktop.
Results of MATLAB R2015b function benchmark by Andrew Janke on stackoverflow: http://stackoverflow.com/a/1745686/1826930
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
Matlab R2015b on PCWIN64 | |
Matlab 8.6.0.267246 (R2015b) / Java 1.7.0_60 on PCWIN64 Windows 8 6.2 (nanit-shaked) | |
Machine: Core i7-4720HQ CPU @ 2.60GHz, 16 GB RAM (20378) | |
nIters = 100000 | |
Operation Time (µsec) | |
nop() function: 0.04 | |
nop() subfunction: 0.08 | |
@()[] anonymous function: 1.83 | |
nop(obj) method: 3.15 | |
nop() private fcn on @class: 0.04 | |
classdef nop(obj): 0.28 | |
classdef obj.nop(): 0.31 | |
classdef pivate_nop(obj): 0.34 | |
classdef class.static_nop(): 0.05 | |
classdef constant: 0.25 | |
classdef property: 0.25 | |
classdef property with getter: 0.64 | |
+pkg.nop() function: 0.04 | |
+pkg.nop() from inside +pkg: 0.04 | |
feval('nop'): 8.26 | |
feval(@nop): 0.63 | |
eval('nop'): 21.22 | |
Java obj.nop(): 14.15 | |
Java nop(obj): 2.50 | |
Java feval('nop',obj): 10.30 | |
Java Klass.staticNop(): 24.48 | |
Java obj.nop() from Java: 0.01 | |
MEX mexnop(): 0.33 | |
builtin j(): 0.15 | |
struct s.foo field access: 0.25 | |
isempty(persistent): 0.13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It says Windows 8 although I used Windows 10.