1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark
ko1 3dcebce523 * vm.c: add RubyVM::Backtrace object (btobj).
Backtrace information contains an array consists of location
  information for each frames by string.
  RubyVM::Backtrace object is lightweight backtrace information,
  which contains complete information to generate traditional style
  backtrace (an array of strings) with faster generation.
  If someone accesses to backtrace information via
  Exception#backtrace, then convert a RubyVM::Backtrace object to
  traditonal style backtrace.
  This change causes incompatibility on marshal dumpped binary
  of Exception.  If you have any trouble on it, please tell us
  before Ruby 2.0 release.
  Note that RubyVM::Backtrace object should not expose Ruby level.
* error.c, eval.c, vm_eval.c: ditto.
* internal.h: ditto.
* eval_error.c: fix to skip "set_backtrace" method invocation in
  creating an exception object if it call a normal set_backtrace
  method (defined by core).
* test/ruby/test_settracefunc.rb: fix for above change.
* vm_method.c (rb_method_defined_by): added.  This function
  checks that the given object responds with the given method
  by the given cfunc.
* benchmark/bm_vm2_raise1.rb, benchmark/bm_vm2_raise2.rb:
  add to measure exception creation speed. raise1 create
  exception objects from shallow stack frame.  raise2 create
  exception objects from deep stack frame.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-24 06:09:23 +00:00
..
other-lang * remove trailing spaces. 2011-05-15 11:55:52 +00:00
bm_app_answer.rb
bm_app_erb.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_app_factorial.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_app_fib.rb
bm_app_mandelbrot.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_app_pentomino.rb
bm_app_raise.rb
bm_app_strconcat.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_app_tak.rb
bm_app_tarai.rb
bm_app_uri.rb
bm_io_file_create.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_io_file_read.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_io_file_write.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_io_select.rb * benchmark/bm_io_select.rb, benchmark/bm_io_select2.rb: New. 2011-04-30 07:16:31 +00:00
bm_io_select2.rb * benchmark/bm_io_select[23].rb: use Process::RLIMIT_NOFILE only when 2011-11-17 11:24:07 +00:00
bm_io_select3.rb * benchmark/bm_io_select[23].rb: use Process::RLIMIT_NOFILE only when 2011-11-17 11:24:07 +00:00
bm_loop_for.rb
bm_loop_generator.rb
bm_loop_times.rb
bm_loop_whileloop.rb
bm_loop_whileloop2.rb
bm_so_ackermann.rb
bm_so_array.rb
bm_so_binary_trees.rb
bm_so_concatenate.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_so_count_words.rb
bm_so_exception.rb
bm_so_fannkuch.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_so_fasta.rb
bm_so_k_nucleotide.rb
bm_so_lists.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_so_mandelbrot.rb
bm_so_matrix.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_so_meteor_contest.rb
bm_so_nbody.rb
bm_so_nested_loop.rb
bm_so_nsieve.rb
bm_so_nsieve_bits.rb
bm_so_object.rb
bm_so_partial_sums.rb
bm_so_pidigits.rb
bm_so_random.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_so_reverse_complement.rb
bm_so_sieve.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_so_spectralnorm.rb
bm_vm1_block.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_const.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_ensure.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_ivar.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_ivar_set.rb
bm_vm1_length.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_neq.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_not.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_rescue.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_simplereturn.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm1_swap.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_array.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_case.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_defined_method.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_eval.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_method.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_mutex.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_poly_method.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_poly_method_ov.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_proc.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_raise1.rb * vm.c: add RubyVM::Backtrace object (btobj). 2012-05-24 06:09:23 +00:00
bm_vm2_raise2.rb * vm.c: add RubyVM::Backtrace object (btobj). 2012-05-24 06:09:23 +00:00
bm_vm2_regexp.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_send.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_super.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_unif1.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm2_zsuper.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm3_clearmethodcache.rb * properties. 2011-06-13 14:05:56 +00:00
bm_vm3_gc.rb
bm_vm_thread_alive_check1.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm_thread_create_join.rb * benchmark/bm_vm4_thread_create_join.rb, 2011-06-16 18:09:03 +00:00
bm_vm_thread_mutex1.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm_thread_mutex2.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm_thread_mutex3.rb * benchmark/bm_app_erb.rb: increase loop count. too short 2011-07-01 10:39:12 +00:00
bm_vm_thread_pass.rb * benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to 2011-06-14 19:30:12 +00:00
bm_vm_thread_pass_flood.rb * benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to 2011-06-14 19:30:12 +00:00
bm_vm_thread_pipe.rb * benchmark/bm_vm4_thread_pass.rb: rename bm_vm4* to 2011-06-14 19:30:12 +00:00
bmx_temp.rb
driver.rb * benchmark/driver.rb: suppress unused/shadowing variable warnings. 2012-02-12 06:17:25 +00:00
make_fasta_output.rb
prepare_so_count_words.rb
prepare_so_k_nucleotide.rb
prepare_so_reverse_complement.rb
report.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
run.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
runc.rb * tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb. 2009-12-31 15:00:04 +00:00
wc.input.base