Sha256: 8c76b9440e323c2122ac9daaaafb78172ede944018b5abddb567ef9553f8e1fe
Contents?: true
Size: 412 Bytes
Versions: 3
Compression:
Stored size: 412 Bytes
Contents
# # Copyright (c) 2012 Lorenzo Pasqualis - DreamBox Learning, Inc # https://github.com/lpasqualis/rubyperf # class PerfTestExample def test(a,b,c) (0..100000).to_a.reverse.reverse.reverse # Do something heavy end def test_np (0..300000).to_a.reverse.reverse.reverse # Do something heavy end def self.static_method (0..300000).to_a.reverse.reverse.reverse # Do something heavy end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubyperf-1.0.0 | test/perf_test_example.rb |
rubyperf-0.1.0 | test/perf_test_example.rb |
rubyperf-0.0.0 | test/perf_test_example.rb |