hutch-xamplr 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. data/Rakefile +1 -0
  2. data/VERSION.yml +2 -2
  3. data/examples/random-people-shared-addresses/Makefile +2 -2
  4. data/examples/random-people-shared-addresses/batch-load-users.rb +2 -5
  5. data/examples/random-people-shared-addresses/find-mentions.rb +1 -4
  6. data/examples/random-people-shared-addresses/find-people-by-address.rb +1 -4
  7. data/examples/random-people-shared-addresses/optimise.rb +1 -4
  8. data/examples/random-people-shared-addresses/people.rb +0 -15
  9. data/examples/random-people-shared-addresses/query.rb +1 -4
  10. data/examples/random-people-shared-addresses/query2.rb +1 -4
  11. data/examples/random-people-shared-addresses/results.write.BASELINE +298 -0
  12. data/examples/random-people-shared-addresses/results.write.NEW_ATTR_ENCODING +294 -0
  13. data/examples/random-people-shared-addresses/settings.rb +3 -0
  14. data/examples/random-people/batch-load-users.rb +1 -4
  15. data/examples/random-people/optimise.rb +1 -4
  16. data/examples/random-people/people.rb +0 -3
  17. data/examples/random-people/query.rb +1 -5
  18. data/examples/random-people/query2.rb +1 -4
  19. data/examples/random-people/settings.rb +3 -0
  20. data/examples/random-people/what-to-query-on.rb +1 -3
  21. data/examples/read-testing/Makefile +10 -0
  22. data/examples/read-testing/load.rb +65 -0
  23. data/examples/read-testing/read.rb +51 -0
  24. data/examples/read-testing/results.read.BASELINE +6 -0
  25. data/examples/read-testing/results.read.FAST +5 -0
  26. data/examples/read-testing/rrr.rb +87 -0
  27. data/examples/read-testing/settings.rb +2 -0
  28. data/examples/read-testing/xampl-gen.rb +36 -0
  29. data/examples/read-testing/xml/text.xml +8 -0
  30. data/lib/xamplr.rb +10 -1
  31. data/lib/xamplr/exceptions.rb +97 -0
  32. data/lib/xamplr/from-xml-orig.rb +350 -0
  33. data/lib/xamplr/from-xml.rb +272 -183
  34. data/lib/xamplr/handwritten/example.rb +0 -58
  35. data/lib/xamplr/handwritten/hand-example.rb +0 -27
  36. data/lib/xamplr/handwritten/test-handwritten.rb +0 -37
  37. data/lib/xamplr/mixins.rb +10 -48
  38. data/lib/xamplr/persist-to-xml.rb +249 -0
  39. data/lib/xamplr/persistence.rb +44 -412
  40. data/lib/xamplr/persistence.rb.more_thread_safe +0 -13
  41. data/lib/xamplr/persistence.rb.partially_thread_safe +0 -13
  42. data/lib/xamplr/persister.rb +298 -0
  43. data/lib/xamplr/{persister → persisters}/caches.rb +0 -0
  44. data/lib/xamplr/{persister → persisters}/caching.rb +1 -1
  45. data/lib/xamplr/{persister → persisters}/filesystem.rb +4 -5
  46. data/lib/xamplr/{persister → persisters}/in-memory.rb +1 -1
  47. data/lib/xamplr/{persister → persisters}/simple.rb +0 -0
  48. data/lib/xamplr/{persister → persisters}/tokyo-cabinet.rb +53 -15
  49. data/lib/xamplr/simpleTemplate/{input-c.r4 → obsolete/input-c.r4} +0 -0
  50. data/lib/xamplr/simpleTemplate/{play.r6.txt → obsolete/play.r6.txt} +0 -0
  51. data/lib/xamplr/simpleTemplate/{play_more.r6.txt → obsolete/play_more.r6.txt} +0 -0
  52. data/lib/xamplr/simpleTemplate/{test001.r5 → obsolete/test001.r5} +0 -0
  53. data/lib/xamplr/simpleTemplate/{test002.r5 → obsolete/test002.r5} +0 -0
  54. data/lib/xamplr/simpleTemplate/{test003.r5 → obsolete/test003.r5} +0 -0
  55. data/lib/xamplr/templates/child_indexed.template +1 -1
  56. data/lib/xamplr/templates/element_classes.template +1 -1
  57. data/lib/xamplr/templates/element_data.template +0 -39
  58. data/lib/xamplr/templates/element_empty.template +0 -40
  59. data/lib/xamplr/templates/element_mixed.template +0 -41
  60. data/lib/xamplr/templates/element_simple.template +0 -40
  61. data/lib/xamplr/test-support/bench.rb +6 -26
  62. data/lib/xamplr/test-support/test.rb +1 -89
  63. data/lib/xamplr/visitor.rb +0 -778
  64. data/lib/xamplr/visitors.rb +573 -0
  65. data/lib/xamplr/xampl-generator.rb +1 -1
  66. data/lib/xamplr/xampl-hand-generated.rb +0 -85
  67. data/lib/xamplr/xampl-module.rb +36 -0
  68. data/lib/xamplr/xampl-object-internals.rb +6 -0
  69. data/lib/xamplr/xampl-object.rb +10 -341
  70. data/lib/xamplr/xampl-persisted-object.rb +122 -0
  71. data/lib/xamplr/xml-text.rb +117 -0
  72. metadata +53 -18
  73. data/lib/xamplr/persister/subversion.rb +0 -61
  74. data/lib/xamplr/rac.sh +0 -6
  75. data/lib/xamplr/rac_gen.sh +0 -1
  76. data/lib/xamplr/templates/child_indexed.template.000 +0 -87
data/Rakefile CHANGED
@@ -11,6 +11,7 @@ begin
11
11
  gem.authors = ["Bob Hutchison"]
12
12
 
13
13
  gem.add_dependency('hutch-xamplr-pp')
14
+ gem.add_dependency('libxml-ruby', ">=1.1.3")
14
15
 
15
16
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
17
  end
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 5
2
+ :patch: 0
3
3
  :major: 1
4
- :minor: 0
4
+ :minor: 1
@@ -2,7 +2,7 @@
2
2
  nope:
3
3
 
4
4
  raw:
5
- rm -rf repo/raw
5
+ rm -rf repo
6
6
  time ruby rawtc.rb
7
7
  #time ruby rawtc.rb
8
8
  #time ruby rawtc.rb
@@ -11,6 +11,6 @@ raw:
11
11
  #time ruby rawtc.rb
12
12
 
13
13
  batch:
14
- rm -rf repo/random-people
14
+ rm -rf repo
15
15
  time ruby batch-load-users.rb
16
16
 
@@ -1,11 +1,7 @@
1
-
2
1
  require 'fastercsv'
3
2
  require 'xampl_generated_code/RandomPeople'
4
3
  require 'people'
5
-
6
- Xampl.set_default_persister_kind(:tokyo_cabinet)
7
- #Xampl.set_default_persister_format(:xml_format)
8
- Xampl.set_default_persister_format(:ruby_format)
4
+ require 'settings'
9
5
 
10
6
  module RandomPeople
11
7
 
@@ -39,6 +35,7 @@ module RandomPeople
39
35
 
40
36
  10.times do | iter |
41
37
  inner_start = Time.now
38
+
42
39
  Xampl.transaction("random-people") do
43
40
 
44
41
  base += arr_of_arrs.size
@@ -1,10 +1,7 @@
1
1
 
2
2
  require 'xampl_generated_code/RandomPeople'
3
3
  require 'people'
4
-
5
- Xampl.set_default_persister_kind(:tokyo_cabinet)
6
- #Xampl.set_default_persister_format(:xml_format)
7
- Xampl.set_default_persister_format(:ruby_format)
4
+ require 'settings'
8
5
 
9
6
  module RandomPeople
10
7
 
@@ -1,10 +1,7 @@
1
1
 
2
2
  require 'xampl_generated_code/RandomPeople'
3
3
  require 'people'
4
-
5
- Xampl.set_default_persister_kind(:tokyo_cabinet)
6
- #Xampl.set_default_persister_format(:xml_format)
7
- Xampl.set_default_persister_format(:ruby_format)
4
+ require 'settings'
8
5
 
9
6
  module RandomPeople
10
7
 
@@ -2,10 +2,7 @@ $LOAD_PATH.unshift("xampl_generated_code")
2
2
 
3
3
  require 'RandomPeople'
4
4
  require 'people'
5
-
6
- Xampl.set_default_persister_kind(:tokyo_cabinet)
7
- #Xampl.set_default_persister_format(:xml_format)
8
- Xampl.set_default_persister_format(:ruby_format)
5
+ require 'settings'
9
6
 
10
7
  module RandomPeople
11
8
 
@@ -3,21 +3,6 @@ require 'xampl_generated_code/RandomPeople'
3
3
 
4
4
  module RandomPeople
5
5
 
6
- #<people pid=''
7
- # xmlns="http://xampl.com/people">
8
- # <person pid=''
9
- # given-name=''
10
- # surname=''
11
- # email=''
12
- # phone=''>
13
- # <address pid=''
14
- # street-address=''
15
- # city=''
16
- # state=''
17
- # postal-code=''/>
18
- # </person>
19
- #</people>
20
-
21
6
  class Person
22
7
 
23
8
  Xampl::TokyoCabinetPersister.add_lexical_indexs(%w{ surname city state email })
@@ -1,10 +1,7 @@
1
1
 
2
2
  require 'xampl_generated_code/RandomPeople'
3
3
  require 'people'
4
-
5
- Xampl.set_default_persister_kind(:tokyo_cabinet)
6
- #Xampl.set_default_persister_format(:xml_format)
7
- Xampl.set_default_persister_format(:ruby_format)
4
+ require 'settings'
8
5
 
9
6
  module RandomPeople
10
7
 
@@ -2,10 +2,7 @@ $LOAD_PATH.unshift("xampl_generated_code")
2
2
 
3
3
  require 'RandomPeople'
4
4
  require 'people'
5
-
6
- Xampl.set_default_persister_kind(:tokyo_cabinet)
7
- #Xampl.set_default_persister_format(:xml_format)
8
- Xampl.set_default_persister_format(:ruby_format)
5
+ require 'settings'
9
6
 
10
7
  module RandomPeople
11
8
 
@@ -0,0 +1,298 @@
1
+ time ruby batch-load-users.rb
2
+ transaction ending...
3
+ Thread ID: 106710
4
+ Total: 76.211057
5
+
6
+ %self total self wait child calls name
7
+ 9.12 7.18 6.95 0.00 0.24 30000 TokyoCabinet::TDB#put (ruby_runtime:0}
8
+ 7.76 5.91 5.91 0.00 0.00 550000 String#gsub! (ruby_runtime:0}
9
+ 7.41 29.47 5.65 0.00 23.82 58334 Array#each (ruby_runtime:0}
10
+ 6.66 12.96 5.08 0.00 7.88 110000 Xampl::PersistXML#attr_esc (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:45}
11
+ 6.39 48.04 4.87 0.00 43.17 40000 Xampl::Visitor#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
12
+ 4.32 4.50 3.30 0.00 1.21 120000 Xampl::XamplPersistedObject#accessed (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:13}
13
+ 3.32 2.53 2.53 0.00 0.00 870000 String#<< (ruby_runtime:0}
14
+ 2.78 75.46 2.12 0.00 73.34 20000 Xampl::TokyoCabinetPersister#write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:324}
15
+ 2.30 29.51 1.75 0.00 27.75 30000 Xampl::PersistXML#start_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:109}
16
+ 2.25 2.62 1.71 0.00 0.90 40000 Xampl::PersistXML#register_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:30}
17
+ 2.14 8.55 1.63 0.00 6.92 20000 Xampl::Visitor#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
18
+ 1.76 1.99 1.34 0.00 0.65 260000 Hash#[] (ruby_runtime:0}
19
+ 1.38 1.06 1.06 0.00 0.00 430000 Kernel#hash (ruby_runtime:0}
20
+ 1.32 9.30 1.01 0.00 8.30 50002 Xampl::TokyoCabinetPersister#note_errors (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:13}
21
+ 1.29 0.99 0.99 0.00 0.00 40000 Xampl::Visitor#reset (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:10}
22
+ 1.19 1.21 0.91 0.00 0.30 120000 Xampl::XamplObject#invalid (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:41}
23
+ 1.15 1.20 0.88 0.00 0.32 150000 Hash#[]= (ruby_runtime:0}
24
+ 1.06 1.41 0.81 0.00 0.60 110000 Kernel#dup (ruby_runtime:0}
25
+ 1.01 0.77 0.77 0.00 0.00 160000 Xampl::Visitor#method_missing (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:35}
26
+ 0.99 3.64 0.75 0.00 2.88 20000 Hash#each_key (ruby_runtime:0}
27
+ 0.86 2.22 0.66 0.00 1.56 11666 Array#each-1 (ruby_runtime:0}
28
+ 0.85 1.28 0.65 0.00 0.63 20000 Xampl::PersistXML#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:7}
29
+ 0.84 1.04 0.64 0.00 0.40 30000 Xampl::PersistXML#show_attributes (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:100}
30
+ 0.84 4.04 0.64 0.00 3.40 80000 Class#new (ruby_runtime:0}
31
+ 0.83 0.63 0.63 0.00 0.00 250000 Kernel#kind_of? (ruby_runtime:0}
32
+ 0.79 0.60 0.60 0.00 0.00 1 TokyoCabinet::TDB#trancommit (ruby_runtime:0}
33
+ 0.75 0.57 0.57 0.00 0.00 230000 Array#[] (ruby_runtime:0}
34
+ 0.70 0.72 0.54 0.00 0.19 20000 Xampl::TableQuery#add_condition (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:571}
35
+ 0.69 0.67 0.52 0.00 0.14 30000 Xampl::ResetIsChanged#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:33}
36
+ 0.64 20.69 0.49 0.00 20.20 20000 Xampl::PersistXML#attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:72}
37
+ 0.63 0.48 0.48 0.00 0.00 200000 Kernel#== (ruby_runtime:0}
38
+ 0.61 0.46 0.46 0.00 0.00 190000 Fixnum#< (ruby_runtime:0}
39
+ 0.60 1.25 0.46 0.00 0.80 60000 Xampl::Visitor#substitute_in_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:39}
40
+ 0.60 43.47 0.46 0.00 43.02 20000 Xampl::Persister#represent (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persister.rb:123}
41
+ 0.60 9.03 0.45 0.00 8.58 20000 Xampl::ResetIsChanged#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
42
+ 0.57 30.81 0.43 0.00 30.38 30000 Xampl::PersistXML#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:191}
43
+ 0.57 0.43 0.43 0.00 0.00 30000 <Class::File>#join (ruby_runtime:0}
44
+ 0.56 0.42 0.42 0.00 0.00 30000 String#split (ruby_runtime:0}
45
+ 0.55 0.42 0.42 0.00 0.00 130000 Kernel#respond_to? (ruby_runtime:0}
46
+ 0.49 0.66 0.37 0.00 0.29 20000 Hash#each-1 (ruby_runtime:0}
47
+ 0.46 0.35 0.35 0.00 0.00 20000 TokyoCabinet::TDBQRY#searchout (ruby_runtime:0}
48
+ 0.44 0.53 0.34 0.00 0.19 40000 RandomPeople::Address#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:826}
49
+ 0.42 0.47 0.32 0.00 0.15 60000 Hash#delete (ruby_runtime:0}
50
+ 0.42 2.73 0.32 0.00 2.41 10000 Xampl::PersistXML#persist_attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:84}
51
+ 0.42 0.32 0.32 0.00 0.00 130000 Fixnum#== (ruby_runtime:0}
52
+ 0.41 0.32 0.32 0.00 0.00 110000 String#initialize_copy (ruby_runtime:0}
53
+ 0.40 0.30 0.30 0.00 0.00 110000 Kernel#instance_variable_get (ruby_runtime:0}
54
+ 0.40 1.40 0.30 0.00 1.10 20000 Xampl::PersistXML#done (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:144}
55
+ 0.39 3.32 0.30 0.00 3.02 10000 RandomPeople::Person#describe_yourself (./people.rb:10}
56
+ 0.39 0.45 0.30 0.00 0.15 60000 Hash#has_key? (ruby_runtime:0}
57
+ 0.39 0.57 0.30 0.00 0.27 40000 Class#new-1 (ruby_runtime:0}
58
+ 0.38 3.98 0.29 0.00 3.69 20000 Set#each (/opt/local/lib/ruby/1.8/set.rb:193}
59
+ 0.38 1.27 0.29 0.00 0.99 40000 Xampl::Visitor#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:6}
60
+ 0.37 0.28 0.28 0.00 0.00 110000 <Class::String>#allocate (ruby_runtime:0}
61
+ 0.37 0.28 0.28 0.00 0.00 110000 Array#<< (ruby_runtime:0}
62
+ 0.37 0.28 0.28 0.00 0.00 110000 String#to_s (ruby_runtime:0}
63
+ 0.36 0.59 0.28 0.00 0.31 20000 Set#initialize (/opt/local/lib/ruby/1.8/set.rb:68}
64
+ 0.36 0.27 0.27 0.00 0.00 110000 Array#length (ruby_runtime:0}
65
+ 0.36 0.88 0.27 0.00 0.61 10000 Xampl::PersistXML#end_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:130}
66
+ 0.35 42.72 0.26 0.00 42.45 20000 Xampl::XamplObject#persist (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:181}
67
+ 0.33 0.25 0.25 0.00 0.00 100000 <Class::Object>#allocate (ruby_runtime:0}
68
+ 0.33 0.91 0.25 0.00 0.66 20000 Xampl::PersistXML#define_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:136}
69
+ 0.33 0.25 0.25 0.00 0.00 30000 Array#join (ruby_runtime:0}
70
+ 0.33 1.50 0.25 0.00 1.25 20000 Xampl::PersistXML#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:199}
71
+ 0.33 16.97 0.25 0.00 16.72 20000 Xampl::PersistXML#before_visit_without_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:148}
72
+ 0.31 0.24 0.24 0.00 0.00 30000 Hash#keys (ruby_runtime:0}
73
+ 0.31 0.54 0.23 0.00 0.31 20000 Xampl::TableQuery#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:480}
74
+ 0.29 13.09 0.22 0.00 12.87 10000 Xampl::PersistXML#before_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:164}
75
+ 0.29 2.27 0.22 0.00 2.05 10000 Xampl::ResetIsChanged#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
76
+ 0.28 0.21 0.21 0.00 0.00 20000 Kernel#sprintf (ruby_runtime:0}
77
+ 0.28 0.21 0.21 0.00 0.00 60000 Module#name (ruby_runtime:0}
78
+ 0.28 0.21 0.21 0.00 0.00 20000 Hash#initialize_copy (ruby_runtime:0}
79
+ 0.27 10.24 0.21 0.00 10.03 20000 Xampl::XamplObject#changes_accepted (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:45}
80
+ 0.27 0.20 0.20 0.00 0.00 80000 Hash#default (ruby_runtime:0}
81
+ 0.26 0.20 0.20 0.00 0.00 40000 RandomPeople::Address#get_the_index (./xampl_generated_code/RandomPeople.rb:818}
82
+ 0.26 0.20 0.20 0.00 0.00 40000 RandomPeople::Person#get_the_index (./xampl_generated_code/RandomPeople.rb:595}
83
+ 0.26 0.96 0.20 0.00 0.76 20000 Xampl::XamplWithDataContent#children (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:195}
84
+ 0.26 0.20 0.20 0.00 0.00 40000 Xampl::XamplPersistedObject#persist_required (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:9}
85
+ 0.25 0.47 0.19 0.00 0.27 20000 Hash#merge (ruby_runtime:0}
86
+ 0.25 0.19 0.19 0.00 0.00 40000 Xampl::Visitor#around_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:51}
87
+ 0.25 0.19 0.19 0.00 0.00 40000 RandomPeople::Address#attributes (./xampl_generated_code/RandomPeople.rb:810}
88
+ 0.25 0.94 0.19 0.00 0.75 20000 RandomPeople::AddressAsChild#address (./xampl_generated_code/RandomPeople.rb:166}
89
+ 0.25 0.93 0.19 0.00 0.74 20000 RandomPeople::Address#state (./xampl_generated_code/RandomPeople.rb:711}
90
+ 0.25 2.07 0.19 0.00 1.88 10000 RandomPeople::Address#describe_yourself (./people.rb:24}
91
+ 0.25 0.94 0.19 0.00 0.75 20000 RandomPeople::Address#city (./xampl_generated_code/RandomPeople.rb:700}
92
+ 0.23 0.18 0.18 0.00 0.00 70000 String#length (ruby_runtime:0}
93
+ 0.22 0.27 0.17 0.00 0.10 20000 RandomPeople::Person#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:603}
94
+ 0.22 0.26 0.17 0.00 0.10 20000 RandomPeople::Address#visit (./xampl_generated_code/RandomPeople.rb:834}
95
+ 0.21 0.26 0.16 0.00 0.10 20000 RandomPeople::Person#visit (./xampl_generated_code/RandomPeople.rb:611}
96
+ 0.21 0.51 0.16 0.00 0.35 20000 Xampl::TableQuery#searchout (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:502}
97
+ 0.20 0.15 0.15 0.00 0.00 60000 Kernel#class (ruby_runtime:0}
98
+ 0.19 0.40 0.15 0.00 0.25 20000 Xampl::Visitor#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:47}
99
+ 0.19 17.12 0.15 0.00 16.97 20000 Xampl::XamplWithoutContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:21}
100
+ 0.19 0.79 0.15 0.00 0.64 20000 Xampl::ResetIsChanged#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:18}
101
+ 0.19 0.21 0.15 0.00 0.06 20000 <Module::Xampl::XamplObject>#lookup_preferred_ns_prefix (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:23}
102
+ 0.19 75.61 0.15 0.00 75.46 1 Hash#each (ruby_runtime:0}
103
+ 0.19 0.20 0.14 0.00 0.05 20000 IndexedArray#first (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/indexed-array.rb:73}
104
+ 0.16 0.12 0.12 0.00 0.00 40000 <Class::Hash>#allocate (ruby_runtime:0}
105
+ 0.14 0.11 0.11 0.00 0.00 20000 TokyoCabinet::TDBQRY#initialize (ruby_runtime:0}
106
+ 0.14 0.10 0.10 0.00 0.00 20000 Xampl::XamplWithoutContent#children (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:17}
107
+ 0.13 0.15 0.10 0.00 0.05 20000 Kernel#=== (ruby_runtime:0}
108
+ 0.13 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#tag (./xampl_generated_code/RandomPeople.rb:567}
109
+ 0.13 0.10 0.10 0.00 0.00 20000 RandomPeople::Address#tag (./xampl_generated_code/RandomPeople.rb:790}
110
+ 0.13 0.98 0.10 0.00 0.88 10000 Xampl::PersistXML#after_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:174}
111
+ 0.13 0.48 0.10 0.00 0.38 10000 RandomPeople::Person#surname (./xampl_generated_code/RandomPeople.rb:475}
112
+ 0.13 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#ns (./xampl_generated_code/RandomPeople.rb:571}
113
+ 0.13 0.48 0.10 0.00 0.38 10000 RandomPeople::Address#street_address (./xampl_generated_code/RandomPeople.rb:689}
114
+ 0.13 0.47 0.10 0.00 0.37 10000 RandomPeople::Person#email (./xampl_generated_code/RandomPeople.rb:486}
115
+ 0.13 0.17 0.10 0.00 0.08 10000 Set#<< (/opt/local/lib/ruby/1.8/set.rb:201}
116
+ 0.13 0.10 0.10 0.00 0.00 20000 RandomPeople::Address#ns (./xampl_generated_code/RandomPeople.rb:794}
117
+ 0.13 0.47 0.10 0.00 0.37 10000 RandomPeople::Address#postal_code (./xampl_generated_code/RandomPeople.rb:722}
118
+ 0.13 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#attributes (./xampl_generated_code/RandomPeople.rb:587}
119
+ 0.10 0.08 0.08 0.00 0.00 20000 TokyoCabinet::TDBQRY#addcond (ruby_runtime:0}
120
+ 0.10 0.13 0.08 0.00 0.05 10000 Xampl::XamplWithoutContent#after_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:29}
121
+ 0.10 0.13 0.08 0.00 0.05 10000 RandomPeople::Address#after_visit (./xampl_generated_code/RandomPeople.rb:838}
122
+ 0.10 0.13 0.08 0.00 0.05 10000 RandomPeople::Person#after_visit (./xampl_generated_code/RandomPeople.rb:615}
123
+ 0.10 0.08 0.08 0.00 0.00 20000 String#[] (ruby_runtime:0}
124
+ 0.10 1.06 0.08 0.00 0.98 10000 Xampl::XamplWithDataContent#after_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:186}
125
+ 0.10 13.16 0.07 0.00 13.09 10000 Xampl::XamplWithDataContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:178}
126
+ 0.07 0.05 0.05 0.00 0.00 20000 Fixnum#+ (ruby_runtime:0}
127
+ 0.07 0.05 0.05 0.00 0.00 20000 Hash#initialize (ruby_runtime:0}
128
+ 0.07 0.05 0.05 0.00 0.00 20000 Kernel#is_a? (ruby_runtime:0}
129
+ 0.07 0.05 0.05 0.00 0.00 10000 RandomPeople::Person#default_persister_format (./xampl_generated_code/RandomPeople.rb:408}
130
+ 0.07 0.05 0.05 0.00 0.00 20000 Array#first (ruby_runtime:0}
131
+ 0.07 0.05 0.05 0.00 0.00 20000 Kernel#block_given? (ruby_runtime:0}
132
+ 0.07 0.05 0.05 0.00 0.00 20000 NilClass#nil? (ruby_runtime:0}
133
+ 0.07 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#default_persister_format (./xampl_generated_code/RandomPeople.rb:627}
134
+ 0.07 0.05 0.05 0.00 0.00 20000 Symbol#=== (ruby_runtime:0}
135
+ 0.06 0.05 0.05 0.00 0.00 20000 String#size (ruby_runtime:0}
136
+ 0.06 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#indexed_by (./xampl_generated_code/RandomPeople.rb:814}
137
+ 0.05 0.04 0.04 0.00 0.00 10000 TokyoCabinet::TDB#genuid (ruby_runtime:0}
138
+ 0.04 0.03 0.03 0.00 0.00 10000 Symbol#to_s (ruby_runtime:0}
139
+ 0.03 0.03 0.03 0.00 0.00 10000 String#== (ruby_runtime:0}
140
+ 0.00 0.00 0.00 0.00 0.00 1 TokyoCabinet::TDB#tranbegin (ruby_runtime:0}
141
+ 0.00 76.21 0.00 0.00 76.21 1 Xampl::TokyoCabinetPersister#do_sync_write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:281}
142
+ 0.00 76.21 0.00 0.00 76.21 1 Xampl::TokyoCabinetPersister#do_sync_write_work (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:289}
143
+ 0.00 0.00 0.00 0.00 0.00 1 Float#to_s (ruby_runtime:0}
144
+ 0.00 0.00 0.00 0.00 0.00 1 Xampl::TokyoCabinetPersister#open_tc_db (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:56}
145
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#now (ruby_runtime:0}
146
+ 0.00 0.00 0.00 0.00 0.00 1 Time#initialize (ruby_runtime:0}
147
+ 0.00 0.00 0.00 0.00 0.00 1 Time#to_f (ruby_runtime:0}
148
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#allocate (ruby_runtime:0}
149
+
150
+
151
+ tokyo-cabinet.rb:286 stop this profiler
152
+ iter: 0 in 80.245884
153
+ transaction ending...
154
+ Thread ID: 106710
155
+ Total: 47.170992
156
+
157
+ %self total self wait child calls name
158
+ 9.79 4.69 4.62 0.00 0.08 20000 TokyoCabinet::TDB#put (ruby_runtime:0}
159
+ 8.25 3.89 3.89 0.00 0.00 300000 String#gsub! (ruby_runtime:0}
160
+ 6.56 20.26 3.09 0.00 17.17 30000 Array#each (ruby_runtime:0}
161
+ 5.88 7.90 2.77 0.00 5.13 60000 Xampl::PersistXML#attr_esc (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:45}
162
+ 5.24 30.58 2.47 0.00 28.11 20000 Xampl::Visitor#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
163
+ 4.65 3.00 2.19 0.00 0.80 80000 Xampl::XamplPersistedObject#accessed (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:13}
164
+ 3.83 1.81 1.81 0.00 0.00 510000 String#<< (ruby_runtime:0}
165
+ 3.29 8.63 1.55 0.00 7.07 20000 Xampl::Visitor#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
166
+ 2.60 46.54 1.23 0.00 45.32 10000 Xampl::TokyoCabinetPersister#write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:324}
167
+ 2.50 17.95 1.18 0.00 16.77 20000 Xampl::PersistXML#start_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:109}
168
+ 2.46 1.71 1.16 0.00 0.55 30000 Xampl::PersistXML#register_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:30}
169
+ 1.85 1.30 0.87 0.00 0.42 170000 Hash#[] (ruby_runtime:0}
170
+ 1.51 0.71 0.71 0.00 0.00 290000 Kernel#hash (ruby_runtime:0}
171
+ 1.38 2.47 0.65 0.00 1.82 10000 Array#each-1 (ruby_runtime:0}
172
+ 1.29 6.14 0.61 0.00 5.54 30002 Xampl::TokyoCabinetPersister#note_errors (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:13}
173
+ 1.27 0.80 0.60 0.00 0.20 80000 Xampl::XamplObject#invalid (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:41}
174
+ 1.17 0.55 0.55 0.00 0.00 1 TokyoCabinet::TDB#trancommit (ruby_runtime:0}
175
+ 1.08 0.73 0.51 0.00 0.22 100000 Hash#[]= (ruby_runtime:0}
176
+ 1.05 0.50 0.50 0.00 0.00 20000 Xampl::Visitor#reset (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:10}
177
+ 1.02 3.51 0.48 0.00 3.02 10000 Hash#each_key (ruby_runtime:0}
178
+ 0.98 3.47 0.46 0.00 3.01 10000 RandomPeople::Person#describe_yourself (./people.rb:10}
179
+ 0.94 0.93 0.44 0.00 0.49 60000 Kernel#dup (ruby_runtime:0}
180
+ 0.91 0.43 0.43 0.00 0.00 90000 Xampl::Visitor#method_missing (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:35}
181
+ 0.91 0.61 0.43 0.00 0.18 20000 Xampl::PersistXML#show_attributes (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:100}
182
+ 0.86 0.40 0.40 0.00 0.00 160000 Kernel#kind_of? (ruby_runtime:0}
183
+ 0.76 0.36 0.36 0.00 0.00 20000 String#split (ruby_runtime:0}
184
+ 0.74 0.44 0.35 0.00 0.10 20000 Xampl::ResetIsChanged#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:33}
185
+ 0.71 0.33 0.33 0.00 0.00 60000 String#initialize_copy (ruby_runtime:0}
186
+ 0.69 0.32 0.32 0.00 0.00 130000 Array#[] (ruby_runtime:0}
187
+ 0.68 1.97 0.32 0.00 1.65 40000 Class#new (ruby_runtime:0}
188
+ 0.68 2.98 0.32 0.00 2.67 10000 Xampl::PersistXML#persist_attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:84}
189
+ 0.64 0.83 0.30 0.00 0.53 40000 Xampl::Visitor#substitute_in_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:39}
190
+ 0.62 0.29 0.29 0.00 0.00 120000 Kernel#== (ruby_runtime:0}
191
+ 0.61 19.01 0.29 0.00 18.72 20000 Xampl::PersistXML#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:191}
192
+ 0.58 0.88 0.27 0.00 0.61 10000 Xampl::PersistXML#end_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:130}
193
+ 0.57 0.36 0.27 0.00 0.09 10000 Xampl::TableQuery#add_condition (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:571}
194
+ 0.57 0.27 0.27 0.00 0.00 110000 Fixnum#< (ruby_runtime:0}
195
+ 0.56 0.58 0.26 0.00 0.32 10000 Xampl::PersistXML#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:7}
196
+ 0.52 11.09 0.24 0.00 10.85 10000 Xampl::PersistXML#attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:72}
197
+ 0.49 5.92 0.23 0.00 5.69 10000 Xampl::ResetIsChanged#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
198
+ 0.48 26.72 0.23 0.00 26.49 10000 Xampl::Persister#represent (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persister.rb:123}
199
+ 0.48 0.22 0.22 0.00 0.00 70000 Kernel#respond_to? (ruby_runtime:0}
200
+ 0.47 0.22 0.22 0.00 0.00 90000 Fixnum#== (ruby_runtime:0}
201
+ 0.47 13.58 0.22 0.00 13.36 10000 Xampl::PersistXML#before_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:164}
202
+ 0.46 2.10 0.22 0.00 1.88 10000 Xampl::ResetIsChanged#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
203
+ 0.46 0.31 0.22 0.00 0.10 40000 Hash#delete (ruby_runtime:0}
204
+ 0.44 0.21 0.21 0.00 0.00 10000 TokyoCabinet::TDBQRY#searchout (ruby_runtime:0}
205
+ 0.42 0.30 0.20 0.00 0.10 40000 Hash#has_key? (ruby_runtime:0}
206
+ 0.42 0.20 0.20 0.00 0.00 40000 RandomPeople::Person#get_the_index (./xampl_generated_code/RandomPeople.rb:595}
207
+ 0.42 0.96 0.20 0.00 0.76 20000 Xampl::XamplWithDataContent#children (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:195}
208
+ 0.40 0.94 0.19 0.00 0.74 20000 RandomPeople::AddressAsChild#address (./xampl_generated_code/RandomPeople.rb:166}
209
+ 0.36 0.27 0.17 0.00 0.10 20000 RandomPeople::Person#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:603}
210
+ 0.36 0.17 0.17 0.00 0.00 60000 Kernel#instance_variable_get (ruby_runtime:0}
211
+ 0.35 0.26 0.17 0.00 0.10 20000 RandomPeople::Address#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:826}
212
+ 0.34 0.26 0.16 0.00 0.10 20000 RandomPeople::Person#visit (./xampl_generated_code/RandomPeople.rb:611}
213
+ 0.33 0.16 0.16 0.00 0.00 60000 <Class::String>#allocate (ruby_runtime:0}
214
+ 0.33 0.15 0.15 0.00 0.00 60000 String#to_s (ruby_runtime:0}
215
+ 0.32 0.15 0.15 0.00 0.00 60000 Array#<< (ruby_runtime:0}
216
+ 0.32 0.58 0.15 0.00 0.43 10000 Xampl::PersistXML#done (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:144}
217
+ 0.32 0.29 0.15 0.00 0.14 20000 Class#new-1 (ruby_runtime:0}
218
+ 0.32 0.15 0.15 0.00 0.00 60000 Array#length (ruby_runtime:0}
219
+ 0.31 0.15 0.15 0.00 0.00 30000 Xampl::XamplPersistedObject#persist_required (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:9}
220
+ 0.31 3.67 0.14 0.00 3.53 10000 Set#each (/opt/local/lib/ruby/1.8/set.rb:193}
221
+ 0.31 0.64 0.14 0.00 0.50 20000 Xampl::Visitor#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:6}
222
+ 0.31 0.19 0.14 0.00 0.05 20000 IndexedArray#first (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/indexed-array.rb:73}
223
+ 0.30 0.14 0.14 0.00 0.00 40000 Module#name (ruby_runtime:0}
224
+ 0.30 0.30 0.14 0.00 0.16 10000 Set#initialize (/opt/local/lib/ruby/1.8/set.rb:68}
225
+ 0.28 26.34 0.13 0.00 26.21 10000 Xampl::XamplObject#persist (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:181}
226
+ 0.27 0.13 0.13 0.00 0.00 50000 String#length (ruby_runtime:0}
227
+ 0.27 0.13 0.13 0.00 0.00 50000 <Class::Object>#allocate (ruby_runtime:0}
228
+ 0.27 0.13 0.13 0.00 0.00 50000 Hash#default (ruby_runtime:0}
229
+ 0.27 0.34 0.13 0.00 0.21 10000 Xampl::PersistXML#define_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:136}
230
+ 0.26 0.12 0.12 0.00 0.00 20000 <Class::File>#join (ruby_runtime:0}
231
+ 0.26 0.21 0.12 0.00 0.09 10000 Hash#each-1 (ruby_runtime:0}
232
+ 0.26 1.21 0.12 0.00 1.08 10000 Xampl::PersistXML#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:199}
233
+ 0.26 4.93 0.12 0.00 4.81 10000 Xampl::PersistXML#before_visit_without_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:148}
234
+ 0.25 0.27 0.12 0.00 0.16 10000 Xampl::TableQuery#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:480}
235
+ 0.22 6.53 0.11 0.00 6.42 10000 Xampl::XamplObject#changes_accepted (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:45}
236
+ 0.22 0.10 0.10 0.00 0.00 40000 Kernel#class (ruby_runtime:0}
237
+ 0.21 0.18 0.10 0.00 0.08 10000 Hash#merge (ruby_runtime:0}
238
+ 0.21 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#tag (./xampl_generated_code/RandomPeople.rb:567}
239
+ 0.21 0.48 0.10 0.00 0.38 10000 RandomPeople::Person#surname (./xampl_generated_code/RandomPeople.rb:475}
240
+ 0.21 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#ns (./xampl_generated_code/RandomPeople.rb:571}
241
+ 0.21 0.98 0.10 0.00 0.88 10000 Xampl::PersistXML#after_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:174}
242
+ 0.21 0.10 0.10 0.00 0.00 20000 RandomPeople::Address#attributes (./xampl_generated_code/RandomPeople.rb:810}
243
+ 0.20 0.10 0.10 0.00 0.00 20000 Xampl::Visitor#around_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:51}
244
+ 0.20 0.17 0.10 0.00 0.08 10000 Set#<< (/opt/local/lib/ruby/1.8/set.rb:201}
245
+ 0.20 0.47 0.10 0.00 0.37 10000 RandomPeople::Address#city (./xampl_generated_code/RandomPeople.rb:700}
246
+ 0.20 0.47 0.10 0.00 0.37 10000 RandomPeople::Person#email (./xampl_generated_code/RandomPeople.rb:486}
247
+ 0.20 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#attributes (./xampl_generated_code/RandomPeople.rb:587}
248
+ 0.20 0.47 0.09 0.00 0.37 10000 RandomPeople::Address#state (./xampl_generated_code/RandomPeople.rb:711}
249
+ 0.17 0.08 0.08 0.00 0.00 20000 Array#join (ruby_runtime:0}
250
+ 0.17 0.29 0.08 0.00 0.21 10000 Xampl::TableQuery#searchout (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:502}
251
+ 0.16 0.13 0.08 0.00 0.05 10000 RandomPeople::Person#after_visit (./xampl_generated_code/RandomPeople.rb:615}
252
+ 0.16 0.08 0.08 0.00 0.00 20000 Hash#keys (ruby_runtime:0}
253
+ 0.16 1.05 0.07 0.00 0.98 10000 Xampl::XamplWithDataContent#after_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:186}
254
+ 0.16 46.62 0.07 0.00 46.54 1 Hash#each (ruby_runtime:0}
255
+ 0.16 0.40 0.07 0.00 0.32 10000 Xampl::ResetIsChanged#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:18}
256
+ 0.16 0.20 0.07 0.00 0.13 10000 Xampl::Visitor#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:47}
257
+ 0.16 13.65 0.07 0.00 13.58 10000 Xampl::XamplWithDataContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:178}
258
+ 0.16 5.00 0.07 0.00 4.93 10000 Xampl::XamplWithoutContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:21}
259
+ 0.16 0.11 0.07 0.00 0.03 10000 <Module::Xampl::XamplObject>#lookup_preferred_ns_prefix (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:23}
260
+ 0.13 0.06 0.06 0.00 0.00 20000 <Class::Hash>#allocate (ruby_runtime:0}
261
+ 0.12 0.06 0.06 0.00 0.00 10000 TokyoCabinet::TDBQRY#initialize (ruby_runtime:0}
262
+ 0.11 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#get_the_index (./xampl_generated_code/RandomPeople.rb:818}
263
+ 0.11 0.05 0.05 0.00 0.00 20000 Array#first (ruby_runtime:0}
264
+ 0.11 0.05 0.05 0.00 0.00 10000 RandomPeople::Person#default_persister_format (./xampl_generated_code/RandomPeople.rb:408}
265
+ 0.11 0.07 0.05 0.00 0.02 10000 Kernel#=== (ruby_runtime:0}
266
+ 0.10 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#tag (./xampl_generated_code/RandomPeople.rb:790}
267
+ 0.10 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#ns (./xampl_generated_code/RandomPeople.rb:794}
268
+ 0.10 0.05 0.05 0.00 0.00 10000 Kernel#sprintf (ruby_runtime:0}
269
+ 0.10 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#indexed_by (./xampl_generated_code/RandomPeople.rb:814}
270
+ 0.10 0.05 0.05 0.00 0.00 10000 Hash#initialize_copy (ruby_runtime:0}
271
+ 0.08 0.04 0.04 0.00 0.00 10000 TokyoCabinet::TDBQRY#addcond (ruby_runtime:0}
272
+ 0.08 0.04 0.04 0.00 0.00 10000 TokyoCabinet::TDB#genuid (ruby_runtime:0}
273
+ 0.08 0.04 0.04 0.00 0.00 10000 String#[] (ruby_runtime:0}
274
+ 0.07 0.03 0.03 0.00 0.00 10000 Symbol#to_s (ruby_runtime:0}
275
+ 0.06 0.03 0.03 0.00 0.00 10000 Fixnum#+ (ruby_runtime:0}
276
+ 0.06 0.03 0.03 0.00 0.00 10000 String#== (ruby_runtime:0}
277
+ 0.06 0.03 0.03 0.00 0.00 10000 Hash#initialize (ruby_runtime:0}
278
+ 0.06 0.03 0.03 0.00 0.00 10000 NilClass#nil? (ruby_runtime:0}
279
+ 0.05 0.03 0.03 0.00 0.00 10000 Kernel#is_a? (ruby_runtime:0}
280
+ 0.05 0.02 0.02 0.00 0.00 10000 Kernel#block_given? (ruby_runtime:0}
281
+ 0.05 0.02 0.02 0.00 0.00 10000 Symbol#=== (ruby_runtime:0}
282
+ 0.05 0.02 0.02 0.00 0.00 10000 String#size (ruby_runtime:0}
283
+ 0.00 0.00 0.00 0.00 0.00 1 TokyoCabinet::TDB#tranbegin (ruby_runtime:0}
284
+ 0.00 47.17 0.00 0.00 47.17 1 Xampl::TokyoCabinetPersister#do_sync_write_work (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:289}
285
+ 0.00 47.17 0.00 0.00 47.17 1 Xampl::TokyoCabinetPersister#do_sync_write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:281}
286
+ 0.00 0.00 0.00 0.00 0.00 1 Float#to_s (ruby_runtime:0}
287
+ 0.00 0.00 0.00 0.00 0.00 1 Xampl::TokyoCabinetPersister#open_tc_db (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:56}
288
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#now (ruby_runtime:0}
289
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#allocate (ruby_runtime:0}
290
+ 0.00 0.00 0.00 0.00 0.00 1 Time#initialize (ruby_runtime:0}
291
+ 0.00 0.00 0.00 0.00 0.00 1 Time#to_f (ruby_runtime:0}
292
+
293
+
294
+ tokyo-cabinet.rb:286 stop this profiler
295
+ iter: 1 in 109.981024
296
+ "parsed in 0.780894, processed in: 190.227083"
297
+ created addresses: 10000, shared: 10000
298
+ 193.05 real 133.24 user 52.41 sys
@@ -0,0 +1,294 @@
1
+ time ruby batch-load-users.rb
2
+ transaction ending...
3
+ Thread ID: 106710
4
+ Total: 66.908217
5
+
6
+ %self total self wait child calls name
7
+ 10.42 7.21 6.97 0.00 0.23 30000 TokyoCabinet::TDB#put (ruby_runtime:0}
8
+ 8.38 20.82 5.61 0.00 15.21 58430 Array#each (ruby_runtime:0}
9
+ 7.25 39.41 4.85 0.00 34.56 40000 Xampl::Visitor#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
10
+ 4.90 4.48 3.28 0.00 1.20 120000 Xampl::XamplPersistedObject#accessed (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:13}
11
+ 3.77 2.52 2.52 0.00 0.00 870000 String#<< (ruby_runtime:0}
12
+ 3.19 4.42 2.14 0.00 2.28 110000 Xampl::PersistXML#attr_esc (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:81}
13
+ 3.15 66.15 2.11 0.00 64.05 20000 Xampl::TokyoCabinetPersister#write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:324}
14
+ 2.60 20.73 1.74 0.00 18.99 30000 Xampl::PersistXML#start_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:153}
15
+ 2.54 2.59 1.70 0.00 0.89 40000 Xampl::PersistXML#register_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:31}
16
+ 2.41 7.94 1.61 0.00 6.32 20000 Xampl::Visitor#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
17
+ 2.01 1.34 1.34 0.00 0.00 40000 Xampl::Visitor#reset (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:10}
18
+ 1.97 1.96 1.32 0.00 0.64 260000 Hash#[] (ruby_runtime:0}
19
+ 1.57 1.05 1.05 0.00 0.00 430000 Kernel#hash (ruby_runtime:0}
20
+ 1.50 9.31 1.00 0.00 8.31 50002 Xampl::TokyoCabinetPersister#note_errors (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:13}
21
+ 1.34 1.20 0.90 0.00 0.30 120000 Xampl::XamplObject#invalid (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:41}
22
+ 1.31 1.19 0.88 0.00 0.31 150000 Hash#[]= (ruby_runtime:0}
23
+ 1.31 0.88 0.88 0.00 0.00 110000 LibXML::XML::Node#to_s (ruby_runtime:0}
24
+ 1.15 0.77 0.77 0.00 0.00 160000 Xampl::Visitor#method_missing (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:35}
25
+ 1.03 0.69 0.69 0.00 0.00 130000 String#[] (ruby_runtime:0}
26
+ 0.97 1.66 0.65 0.00 1.01 11570 Array#each-1 (ruby_runtime:0}
27
+ 0.95 0.91 0.63 0.00 0.27 30000 Xampl::PersistXML#show_attributes (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:144}
28
+ 0.95 4.25 0.63 0.00 3.62 80000 Class#new (ruby_runtime:0}
29
+ 0.91 0.61 0.61 0.00 0.00 1 TokyoCabinet::TDB#trancommit (ruby_runtime:0}
30
+ 0.86 0.57 0.57 0.00 0.00 230000 Array#[] (ruby_runtime:0}
31
+ 0.80 0.72 0.53 0.00 0.18 20000 Xampl::TableQuery#add_condition (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:571}
32
+ 0.78 1.28 0.52 0.00 0.76 20000 Xampl::PersistXML#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:8}
33
+ 0.77 0.66 0.52 0.00 0.14 30000 Xampl::ResetIsChanged#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:33}
34
+ 0.75 3.36 0.50 0.00 2.86 20000 Hash#each_key (ruby_runtime:0}
35
+ 0.75 0.50 0.50 0.00 0.00 110000 LibXML::XML::Attr#value= (ruby_runtime:0}
36
+ 0.72 12.65 0.48 0.00 12.17 20000 Xampl::PersistXML#attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:116}
37
+ 0.72 0.48 0.48 0.00 0.00 200000 Kernel#== (ruby_runtime:0}
38
+ 0.68 0.46 0.46 0.00 0.00 190000 Fixnum#< (ruby_runtime:0}
39
+ 0.68 1.26 0.46 0.00 0.80 60000 Xampl::Visitor#substitute_in_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:39}
40
+ 0.67 34.62 0.45 0.00 34.17 20000 Xampl::Persister#represent (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persister.rb:123}
41
+ 0.66 8.97 0.44 0.00 8.52 20000 Xampl::ResetIsChanged#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
42
+ 0.64 22.02 0.43 0.00 21.59 30000 Xampl::PersistXML#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:235}
43
+ 0.62 0.41 0.41 0.00 0.00 130000 Kernel#respond_to? (ruby_runtime:0}
44
+ 0.54 0.36 0.36 0.00 0.00 30000 String#split (ruby_runtime:0}
45
+ 0.52 0.35 0.35 0.00 0.00 140000 Kernel#kind_of? (ruby_runtime:0}
46
+ 0.50 0.53 0.34 0.00 0.19 40000 RandomPeople::Address#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:826}
47
+ 0.50 0.34 0.34 0.00 0.00 20000 TokyoCabinet::TDBQRY#searchout (ruby_runtime:0}
48
+ 0.50 0.33 0.33 0.00 0.00 60000 Module#name (ruby_runtime:0}
49
+ 0.48 0.46 0.32 0.00 0.14 60000 Hash#delete (ruby_runtime:0}
50
+ 0.47 0.32 0.32 0.00 0.00 130000 Fixnum#== (ruby_runtime:0}
51
+ 0.47 2.17 0.32 0.00 1.86 10000 Xampl::PersistXML#persist_attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:128}
52
+ 0.45 1.15 0.30 0.00 0.84 20000 Xampl::PersistXML#done (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:188}
53
+ 0.45 0.30 0.30 0.00 0.00 110000 Kernel#instance_variable_get (ruby_runtime:0}
54
+ 0.45 0.45 0.30 0.00 0.15 60000 Hash#has_key? (ruby_runtime:0}
55
+ 0.44 0.57 0.30 0.00 0.27 40000 Class#new-1 (ruby_runtime:0}
56
+ 0.44 3.31 0.30 0.00 3.01 10000 RandomPeople::Person#describe_yourself (./people.rb:10}
57
+ 0.43 3.70 0.29 0.00 3.41 20000 Set#each (/opt/local/lib/ruby/1.8/set.rb:193}
58
+ 0.43 1.63 0.29 0.00 1.34 40000 Xampl::Visitor#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:6}
59
+ 0.43 0.28 0.28 0.00 0.00 110000 LibXML::XML::Document#root (ruby_runtime:0}
60
+ 0.42 0.38 0.28 0.00 0.10 20000 RandomPeople::Person#visit (./xampl_generated_code/RandomPeople.rb:611}
61
+ 0.42 0.28 0.28 0.00 0.00 110000 Array#<< (ruby_runtime:0}
62
+ 0.41 0.27 0.27 0.00 0.00 110000 Array#length (ruby_runtime:0}
63
+ 0.41 0.58 0.27 0.00 0.31 20000 Set#initialize (/opt/local/lib/ruby/1.8/set.rb:68}
64
+ 0.40 0.88 0.27 0.00 0.61 10000 Xampl::PersistXML#end_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:174}
65
+ 0.40 33.88 0.27 0.00 33.61 20000 Xampl::XamplObject#persist (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:181}
66
+ 0.37 0.65 0.25 0.00 0.40 20000 Xampl::PersistXML#define_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:180}
67
+ 0.37 0.40 0.25 0.00 0.16 20000 Hash#each-1 (ruby_runtime:0}
68
+ 0.37 1.49 0.25 0.00 1.24 20000 Xampl::PersistXML#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:243}
69
+ 0.37 0.25 0.25 0.00 0.00 100000 <Class::Object>#allocate (ruby_runtime:0}
70
+ 0.37 12.65 0.24 0.00 12.41 20000 Xampl::PersistXML#before_visit_without_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:192}
71
+ 0.35 0.23 0.23 0.00 0.00 30000 Hash#keys (ruby_runtime:0}
72
+ 0.35 0.54 0.23 0.00 0.31 20000 Xampl::TableQuery#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:480}
73
+ 0.34 0.23 0.23 0.00 0.00 20000 Xampl::XamplWithoutContent#children (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:17}
74
+ 0.33 8.63 0.22 0.00 8.41 10000 Xampl::PersistXML#before_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:208}
75
+ 0.32 2.24 0.22 0.00 2.02 10000 Xampl::ResetIsChanged#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
76
+ 0.31 10.40 0.21 0.00 10.20 20000 Xampl::XamplObject#changes_accepted (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:45}
77
+ 0.30 0.20 0.20 0.00 0.00 80000 Hash#default (ruby_runtime:0}
78
+ 0.30 0.95 0.20 0.00 0.75 20000 Xampl::XamplWithDataContent#children (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:195}
79
+ 0.29 0.20 0.20 0.00 0.00 40000 RandomPeople::Address#get_the_index (./xampl_generated_code/RandomPeople.rb:818}
80
+ 0.29 0.20 0.20 0.00 0.00 40000 Xampl::XamplPersistedObject#persist_required (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:9}
81
+ 0.29 0.19 0.19 0.00 0.00 40000 RandomPeople::Person#get_the_index (./xampl_generated_code/RandomPeople.rb:595}
82
+ 0.29 0.34 0.19 0.00 0.15 20000 Hash#merge (ruby_runtime:0}
83
+ 0.29 0.94 0.19 0.00 0.74 20000 RandomPeople::Address#city (./xampl_generated_code/RandomPeople.rb:700}
84
+ 0.29 0.19 0.19 0.00 0.00 40000 Xampl::Visitor#around_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:51}
85
+ 0.28 0.93 0.19 0.00 0.74 20000 RandomPeople::Address#state (./xampl_generated_code/RandomPeople.rb:711}
86
+ 0.28 0.93 0.19 0.00 0.74 20000 RandomPeople::AddressAsChild#address (./xampl_generated_code/RandomPeople.rb:166}
87
+ 0.28 0.19 0.19 0.00 0.00 40000 RandomPeople::Address#attributes (./xampl_generated_code/RandomPeople.rb:810}
88
+ 0.28 0.19 0.19 0.00 0.00 30000 <Class::File>#join (ruby_runtime:0}
89
+ 0.28 2.06 0.19 0.00 1.87 10000 RandomPeople::Address#describe_yourself (./people.rb:24}
90
+ 0.27 0.18 0.18 0.00 0.00 70000 String#length (ruby_runtime:0}
91
+ 0.26 0.27 0.18 0.00 0.10 20000 RandomPeople::Person#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:603}
92
+ 0.24 0.26 0.16 0.00 0.10 20000 RandomPeople::Address#visit (./xampl_generated_code/RandomPeople.rb:834}
93
+ 0.23 0.15 0.15 0.00 0.00 60000 Kernel#class (ruby_runtime:0}
94
+ 0.23 0.49 0.15 0.00 0.34 20000 Xampl::TableQuery#searchout (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:502}
95
+ 0.22 0.40 0.15 0.00 0.25 20000 Xampl::Visitor#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:47}
96
+ 0.22 1.02 0.15 0.00 0.88 20000 Xampl::ResetIsChanged#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:18}
97
+ 0.22 0.21 0.15 0.00 0.06 20000 <Module::Xampl::XamplObject>#lookup_preferred_ns_prefix (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:23}
98
+ 0.22 12.80 0.15 0.00 12.65 20000 Xampl::XamplWithoutContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:21}
99
+ 0.22 0.19 0.14 0.00 0.05 20000 IndexedArray#first (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/indexed-array.rb:73}
100
+ 0.21 66.30 0.14 0.00 66.15 1 Hash#each (ruby_runtime:0}
101
+ 0.18 0.12 0.12 0.00 0.00 30000 Array#join (ruby_runtime:0}
102
+ 0.18 0.12 0.12 0.00 0.00 40000 <Class::Hash>#allocate (ruby_runtime:0}
103
+ 0.16 0.11 0.11 0.00 0.00 20000 TokyoCabinet::TDBQRY#initialize (ruby_runtime:0}
104
+ 0.16 0.48 0.10 0.00 0.38 10000 RandomPeople::Person#surname (./xampl_generated_code/RandomPeople.rb:475}
105
+ 0.15 0.98 0.10 0.00 0.88 10000 Xampl::PersistXML#after_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:218}
106
+ 0.15 0.15 0.10 0.00 0.05 20000 Kernel#=== (ruby_runtime:0}
107
+ 0.15 0.48 0.10 0.00 0.38 10000 RandomPeople::Address#street_address (./xampl_generated_code/RandomPeople.rb:689}
108
+ 0.15 0.10 0.10 0.00 0.00 20000 RandomPeople::Address#tag (./xampl_generated_code/RandomPeople.rb:790}
109
+ 0.15 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#tag (./xampl_generated_code/RandomPeople.rb:567}
110
+ 0.15 0.10 0.10 0.00 0.00 20000 RandomPeople::Address#ns (./xampl_generated_code/RandomPeople.rb:794}
111
+ 0.14 0.47 0.10 0.00 0.37 10000 RandomPeople::Person#email (./xampl_generated_code/RandomPeople.rb:486}
112
+ 0.14 0.17 0.10 0.00 0.08 10000 Set#<< (/opt/local/lib/ruby/1.8/set.rb:201}
113
+ 0.14 0.09 0.09 0.00 0.00 20000 RandomPeople::Person#attributes (./xampl_generated_code/RandomPeople.rb:587}
114
+ 0.14 0.09 0.09 0.00 0.00 20000 RandomPeople::Person#ns (./xampl_generated_code/RandomPeople.rb:571}
115
+ 0.14 0.47 0.09 0.00 0.37 10000 RandomPeople::Address#postal_code (./xampl_generated_code/RandomPeople.rb:722}
116
+ 0.13 0.09 0.09 0.00 0.00 20000 Hash#initialize_copy (ruby_runtime:0}
117
+ 0.13 0.09 0.09 0.00 0.00 20000 Kernel#sprintf (ruby_runtime:0}
118
+ 0.12 0.13 0.08 0.00 0.05 10000 Xampl::XamplWithoutContent#after_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:29}
119
+ 0.12 0.08 0.08 0.00 0.00 20000 TokyoCabinet::TDBQRY#addcond (ruby_runtime:0}
120
+ 0.11 0.12 0.08 0.00 0.05 10000 RandomPeople::Address#after_visit (./xampl_generated_code/RandomPeople.rb:838}
121
+ 0.11 0.12 0.08 0.00 0.05 10000 RandomPeople::Person#after_visit (./xampl_generated_code/RandomPeople.rb:615}
122
+ 0.11 1.05 0.08 0.00 0.98 10000 Xampl::XamplWithDataContent#after_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:186}
123
+ 0.11 8.70 0.07 0.00 8.63 10000 Xampl::XamplWithDataContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:178}
124
+ 0.08 0.05 0.05 0.00 0.00 20000 Hash#initialize (ruby_runtime:0}
125
+ 0.08 0.05 0.05 0.00 0.00 20000 Fixnum#+ (ruby_runtime:0}
126
+ 0.08 0.05 0.05 0.00 0.00 20000 Kernel#is_a? (ruby_runtime:0}
127
+ 0.07 0.05 0.05 0.00 0.00 20000 Array#first (ruby_runtime:0}
128
+ 0.07 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#default_persister_format (./xampl_generated_code/RandomPeople.rb:627}
129
+ 0.07 0.05 0.05 0.00 0.00 20000 Kernel#block_given? (ruby_runtime:0}
130
+ 0.07 0.05 0.05 0.00 0.00 10000 RandomPeople::Person#default_persister_format (./xampl_generated_code/RandomPeople.rb:408}
131
+ 0.07 0.05 0.05 0.00 0.00 20000 String#size (ruby_runtime:0}
132
+ 0.07 0.05 0.05 0.00 0.00 20000 NilClass#nil? (ruby_runtime:0}
133
+ 0.07 0.05 0.05 0.00 0.00 20000 Symbol#=== (ruby_runtime:0}
134
+ 0.07 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#indexed_by (./xampl_generated_code/RandomPeople.rb:814}
135
+ 0.06 0.04 0.04 0.00 0.00 10000 TokyoCabinet::TDB#genuid (ruby_runtime:0}
136
+ 0.05 0.03 0.03 0.00 0.00 10000 Symbol#to_s (ruby_runtime:0}
137
+ 0.04 0.03 0.03 0.00 0.00 10000 String#== (ruby_runtime:0}
138
+ 0.00 0.00 0.00 0.00 0.00 1 TokyoCabinet::TDB#tranbegin (ruby_runtime:0}
139
+ 0.00 66.91 0.00 0.00 66.91 1 Xampl::TokyoCabinetPersister#do_sync_write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:281}
140
+ 0.00 66.91 0.00 0.00 66.91 1 Xampl::TokyoCabinetPersister#do_sync_write_work (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:289}
141
+ 0.00 0.00 0.00 0.00 0.00 1 Float#to_s (ruby_runtime:0}
142
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#now (ruby_runtime:0}
143
+ 0.00 0.00 0.00 0.00 0.00 1 Xampl::TokyoCabinetPersister#open_tc_db (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:56}
144
+ 0.00 0.00 0.00 0.00 0.00 1 Time#to_f (ruby_runtime:0}
145
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#allocate (ruby_runtime:0}
146
+ 0.00 0.00 0.00 0.00 0.00 1 Time#initialize (ruby_runtime:0}
147
+
148
+
149
+ tokyo-cabinet.rb:286 stop this profiler
150
+ iter: 0 in 70.616388
151
+ transaction ending...
152
+ Thread ID: 106710
153
+ Total: 41.638806
154
+
155
+ %self total self wait child calls name
156
+ 11.14 4.72 4.64 0.00 0.08 20000 TokyoCabinet::TDB#put (ruby_runtime:0}
157
+ 7.39 14.77 3.08 0.00 11.69 30000 Array#each (ruby_runtime:0}
158
+ 5.90 25.05 2.46 0.00 22.59 20000 Xampl::Visitor#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
159
+ 5.23 2.98 2.18 0.00 0.80 80000 Xampl::XamplPersistedObject#accessed (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:13}
160
+ 3.71 7.87 1.54 0.00 6.33 20000 Xampl::Visitor#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:58}
161
+ 3.57 1.49 1.49 0.00 0.00 510000 String#<< (ruby_runtime:0}
162
+ 2.82 12.46 1.18 0.00 11.29 20000 Xampl::PersistXML#start_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:153}
163
+ 2.80 2.30 1.17 0.00 1.13 60000 Xampl::PersistXML#attr_esc (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:81}
164
+ 2.78 1.87 1.16 0.00 0.71 30000 Xampl::PersistXML#register_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:31}
165
+ 2.55 40.97 1.06 0.00 39.90 10000 Xampl::TokyoCabinetPersister#write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:324}
166
+ 2.08 1.29 0.87 0.00 0.42 170000 Hash#[] (ruby_runtime:0}
167
+ 2.01 1.06 0.84 0.00 0.22 100000 Hash#[]= (ruby_runtime:0}
168
+ 1.70 0.71 0.71 0.00 0.00 290000 Kernel#hash (ruby_runtime:0}
169
+ 1.54 1.41 0.64 0.00 0.77 10000 Array#each-1 (ruby_runtime:0}
170
+ 1.45 6.20 0.60 0.00 5.60 30002 Xampl::TokyoCabinetPersister#note_errors (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:13}
171
+ 1.44 0.80 0.60 0.00 0.20 80000 Xampl::XamplObject#invalid (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:41}
172
+ 1.44 0.60 0.60 0.00 0.00 1 TokyoCabinet::TDB#trancommit (ruby_runtime:0}
173
+ 1.21 0.51 0.51 0.00 0.00 20000 Xampl::Visitor#reset (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:10}
174
+ 1.18 0.49 0.49 0.00 0.00 60000 LibXML::XML::Node#to_s (ruby_runtime:0}
175
+ 1.15 2.09 0.48 0.00 1.61 10000 Xampl::PersistXML#persist_attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:128}
176
+ 1.14 3.31 0.47 0.00 2.84 10000 Hash#each_key (ruby_runtime:0}
177
+ 1.03 0.43 0.43 0.00 0.00 90000 Xampl::Visitor#method_missing (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:35}
178
+ 1.02 0.60 0.42 0.00 0.18 20000 Xampl::PersistXML#show_attributes (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:144}
179
+ 1.00 0.74 0.42 0.00 0.33 10000 Xampl::PersistXML#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:8}
180
+ 0.83 0.44 0.34 0.00 0.10 20000 Xampl::ResetIsChanged#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:33}
181
+ 0.78 0.32 0.32 0.00 0.00 130000 Array#[] (ruby_runtime:0}
182
+ 0.77 2.30 0.32 0.00 1.98 40000 Class#new (ruby_runtime:0}
183
+ 0.73 0.84 0.30 0.00 0.53 40000 Xampl::Visitor#substitute_in_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:39}
184
+ 0.71 3.30 0.30 0.00 3.00 10000 RandomPeople::Person#describe_yourself (./people.rb:10}
185
+ 0.70 0.37 0.29 0.00 0.08 10000 Hash#each-1 (ruby_runtime:0}
186
+ 0.70 0.29 0.29 0.00 0.00 120000 Kernel#== (ruby_runtime:0}
187
+ 0.69 13.36 0.29 0.00 13.07 20000 Xampl::PersistXML#before_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:235}
188
+ 0.67 0.28 0.28 0.00 0.00 60000 LibXML::XML::Attr#value= (ruby_runtime:0}
189
+ 0.65 0.88 0.27 0.00 0.61 10000 Xampl::PersistXML#end_element (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:174}
190
+ 0.64 0.36 0.27 0.00 0.09 10000 Xampl::TableQuery#add_condition (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:571}
191
+ 0.64 0.27 0.27 0.00 0.00 110000 Fixnum#< (ruby_runtime:0}
192
+ 0.60 0.25 0.25 0.00 0.00 100000 Kernel#kind_of? (ruby_runtime:0}
193
+ 0.58 6.35 0.24 0.00 6.11 10000 Xampl::PersistXML#attribute (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:116}
194
+ 0.58 0.24 0.24 0.00 0.00 70000 String#[] (ruby_runtime:0}
195
+ 0.55 0.23 0.23 0.00 0.00 70000 Kernel#respond_to? (ruby_runtime:0}
196
+ 0.54 21.37 0.23 0.00 21.14 10000 Xampl::Persister#represent (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persister.rb:123}
197
+ 0.53 6.06 0.22 0.00 5.84 10000 Xampl::ResetIsChanged#start (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
198
+ 0.53 0.22 0.22 0.00 0.00 90000 Fixnum#== (ruby_runtime:0}
199
+ 0.52 0.22 0.22 0.00 0.00 10000 TokyoCabinet::TDBQRY#initialize (ruby_runtime:0}
200
+ 0.52 8.83 0.22 0.00 8.61 10000 Xampl::PersistXML#before_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:208}
201
+ 0.52 2.25 0.22 0.00 2.04 10000 Xampl::ResetIsChanged#start-1 (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:22}
202
+ 0.52 0.31 0.22 0.00 0.10 40000 Hash#delete (ruby_runtime:0}
203
+ 0.49 0.20 0.20 0.00 0.00 10000 TokyoCabinet::TDBQRY#searchout (ruby_runtime:0}
204
+ 0.48 0.30 0.20 0.00 0.10 40000 Hash#has_key? (ruby_runtime:0}
205
+ 0.47 0.95 0.20 0.00 0.75 20000 Xampl::XamplWithDataContent#children (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:195}
206
+ 0.47 0.20 0.20 0.00 0.00 40000 RandomPeople::Person#get_the_index (./xampl_generated_code/RandomPeople.rb:595}
207
+ 0.45 0.93 0.19 0.00 0.74 20000 RandomPeople::AddressAsChild#address (./xampl_generated_code/RandomPeople.rb:166}
208
+ 0.42 0.27 0.18 0.00 0.09 20000 RandomPeople::Person#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:603}
209
+ 0.40 0.26 0.17 0.00 0.09 20000 RandomPeople::Address#substitute_in_visit (./xampl_generated_code/RandomPeople.rb:826}
210
+ 0.40 0.17 0.17 0.00 0.00 60000 Kernel#instance_variable_get (ruby_runtime:0}
211
+ 0.40 0.17 0.17 0.00 0.00 20000 String#split (ruby_runtime:0}
212
+ 0.38 0.25 0.16 0.00 0.10 20000 RandomPeople::Person#visit (./xampl_generated_code/RandomPeople.rb:611}
213
+ 0.38 0.16 0.16 0.00 0.00 60000 LibXML::XML::Document#root (ruby_runtime:0}
214
+ 0.37 0.15 0.15 0.00 0.00 60000 Array#<< (ruby_runtime:0}
215
+ 0.36 0.45 0.15 0.00 0.30 20000 Class#new-1 (ruby_runtime:0}
216
+ 0.36 0.74 0.15 0.00 0.59 10000 Xampl::PersistXML#done (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:188}
217
+ 0.36 0.15 0.15 0.00 0.00 60000 Array#length (ruby_runtime:0}
218
+ 0.35 0.15 0.15 0.00 0.00 30000 Xampl::XamplPersistedObject#persist_required (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-persisted-object.rb:9}
219
+ 0.35 3.48 0.14 0.00 3.34 10000 Set#each (/opt/local/lib/ruby/1.8/set.rb:193}
220
+ 0.35 0.14 0.14 0.00 0.00 40000 Module#name (ruby_runtime:0}
221
+ 0.34 0.19 0.14 0.00 0.05 20000 IndexedArray#first (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/indexed-array.rb:73}
222
+ 0.34 0.65 0.14 0.00 0.51 20000 Xampl::Visitor#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:6}
223
+ 0.33 0.29 0.14 0.00 0.16 10000 Set#initialize (/opt/local/lib/ruby/1.8/set.rb:68}
224
+ 0.32 20.99 0.14 0.00 20.86 10000 Xampl::XamplObject#persist (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:181}
225
+ 0.31 0.13 0.13 0.00 0.00 50000 String#length (ruby_runtime:0}
226
+ 0.30 0.13 0.13 0.00 0.00 50000 Hash#default (ruby_runtime:0}
227
+ 0.30 0.13 0.13 0.00 0.00 20000 <Class::File>#join (ruby_runtime:0}
228
+ 0.30 0.13 0.13 0.00 0.00 50000 <Class::Object>#allocate (ruby_runtime:0}
229
+ 0.30 0.50 0.12 0.00 0.37 10000 Xampl::PersistXML#define_ns (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:180}
230
+ 0.29 1.21 0.12 0.00 1.08 10000 Xampl::PersistXML#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:243}
231
+ 0.29 4.03 0.12 0.00 3.91 10000 Xampl::PersistXML#before_visit_without_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:192}
232
+ 0.29 0.44 0.12 0.00 0.32 10000 Xampl::TableQuery#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:480}
233
+ 0.25 6.66 0.10 0.00 6.56 10000 Xampl::XamplObject#changes_accepted (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:45}
234
+ 0.25 0.48 0.10 0.00 0.38 10000 RandomPeople::Person#surname (./xampl_generated_code/RandomPeople.rb:475}
235
+ 0.25 0.10 0.10 0.00 0.00 40000 Kernel#class (ruby_runtime:0}
236
+ 0.24 0.47 0.10 0.00 0.37 10000 RandomPeople::Address#city (./xampl_generated_code/RandomPeople.rb:700}
237
+ 0.24 0.18 0.10 0.00 0.08 10000 Hash#merge (ruby_runtime:0}
238
+ 0.24 0.98 0.10 0.00 0.88 10000 Xampl::PersistXML#after_visit_data_content (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persist-to-xml.rb:218}
239
+ 0.24 0.10 0.10 0.00 0.00 20000 RandomPeople::Person#tag (./xampl_generated_code/RandomPeople.rb:567}
240
+ 0.23 0.10 0.10 0.00 0.00 20000 Xampl::Visitor#around_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:51}
241
+ 0.23 0.18 0.10 0.00 0.08 10000 Set#<< (/opt/local/lib/ruby/1.8/set.rb:201}
242
+ 0.23 0.46 0.10 0.00 0.37 10000 RandomPeople::Person#email (./xampl_generated_code/RandomPeople.rb:486}
243
+ 0.23 0.09 0.09 0.00 0.00 20000 RandomPeople::Person#ns (./xampl_generated_code/RandomPeople.rb:571}
244
+ 0.23 0.09 0.09 0.00 0.00 20000 RandomPeople::Person#attributes (./xampl_generated_code/RandomPeople.rb:587}
245
+ 0.23 0.46 0.09 0.00 0.37 10000 RandomPeople::Address#state (./xampl_generated_code/RandomPeople.rb:711}
246
+ 0.22 0.09 0.09 0.00 0.00 20000 RandomPeople::Address#attributes (./xampl_generated_code/RandomPeople.rb:810}
247
+ 0.19 0.08 0.08 0.00 0.00 20000 Array#join (ruby_runtime:0}
248
+ 0.19 0.28 0.08 0.00 0.20 10000 Xampl::TableQuery#searchout (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:502}
249
+ 0.18 0.12 0.08 0.00 0.05 10000 RandomPeople::Person#after_visit (./xampl_generated_code/RandomPeople.rb:615}
250
+ 0.18 0.08 0.08 0.00 0.00 20000 Hash#keys (ruby_runtime:0}
251
+ 0.18 1.05 0.08 0.00 0.98 10000 Xampl::XamplWithDataContent#after_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:186}
252
+ 0.18 0.20 0.07 0.00 0.12 10000 Xampl::Visitor#after_visit (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitor.rb:47}
253
+ 0.18 0.39 0.07 0.00 0.32 10000 Xampl::ResetIsChanged#initialize (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/visitors.rb:18}
254
+ 0.18 0.10 0.07 0.00 0.03 10000 <Module::Xampl::XamplObject>#lookup_preferred_ns_prefix (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/xampl-object.rb:23}
255
+ 0.18 8.91 0.07 0.00 8.83 10000 Xampl::XamplWithDataContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:178}
256
+ 0.17 41.04 0.07 0.00 40.97 1 Hash#each (ruby_runtime:0}
257
+ 0.17 4.10 0.07 0.00 4.03 10000 Xampl::XamplWithoutContent#before_visit_by_element_kind (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/mixins.rb:21}
258
+ 0.15 0.06 0.06 0.00 0.00 20000 <Class::Hash>#allocate (ruby_runtime:0}
259
+ 0.12 0.05 0.05 0.00 0.00 20000 Array#first (ruby_runtime:0}
260
+ 0.12 0.07 0.05 0.00 0.02 10000 Kernel#=== (ruby_runtime:0}
261
+ 0.12 0.05 0.05 0.00 0.00 10000 RandomPeople::Person#default_persister_format (./xampl_generated_code/RandomPeople.rb:408}
262
+ 0.12 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#get_the_index (./xampl_generated_code/RandomPeople.rb:818}
263
+ 0.12 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#tag (./xampl_generated_code/RandomPeople.rb:790}
264
+ 0.12 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#ns (./xampl_generated_code/RandomPeople.rb:794}
265
+ 0.11 0.05 0.05 0.00 0.00 10000 RandomPeople::Address#indexed_by (./xampl_generated_code/RandomPeople.rb:814}
266
+ 0.11 0.05 0.05 0.00 0.00 10000 Kernel#sprintf (ruby_runtime:0}
267
+ 0.11 0.05 0.05 0.00 0.00 10000 Hash#initialize_copy (ruby_runtime:0}
268
+ 0.10 0.04 0.04 0.00 0.00 10000 TokyoCabinet::TDBQRY#addcond (ruby_runtime:0}
269
+ 0.09 0.04 0.04 0.00 0.00 10000 TokyoCabinet::TDB#genuid (ruby_runtime:0}
270
+ 0.08 0.03 0.03 0.00 0.00 10000 Symbol#to_s (ruby_runtime:0}
271
+ 0.06 0.03 0.03 0.00 0.00 10000 Fixnum#+ (ruby_runtime:0}
272
+ 0.06 0.03 0.03 0.00 0.00 10000 String#== (ruby_runtime:0}
273
+ 0.06 0.03 0.03 0.00 0.00 10000 Hash#initialize (ruby_runtime:0}
274
+ 0.06 0.03 0.03 0.00 0.00 10000 Kernel#is_a? (ruby_runtime:0}
275
+ 0.06 0.03 0.03 0.00 0.00 10000 NilClass#nil? (ruby_runtime:0}
276
+ 0.06 0.03 0.03 0.00 0.00 10000 Kernel#block_given? (ruby_runtime:0}
277
+ 0.06 0.02 0.02 0.00 0.00 10000 String#size (ruby_runtime:0}
278
+ 0.06 0.02 0.02 0.00 0.00 10000 Symbol#=== (ruby_runtime:0}
279
+ 0.00 0.00 0.00 0.00 0.00 1 TokyoCabinet::TDB#tranbegin (ruby_runtime:0}
280
+ 0.00 41.64 0.00 0.00 41.64 1 Xampl::TokyoCabinetPersister#do_sync_write_work (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:289}
281
+ 0.00 41.64 0.00 0.00 41.64 1 Xampl::TokyoCabinetPersister#do_sync_write (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:281}
282
+ 0.00 0.00 0.00 0.00 0.00 1 Float#to_s (ruby_runtime:0}
283
+ 0.00 0.00 0.00 0.00 0.00 1 Xampl::TokyoCabinetPersister#open_tc_db (/Library/Ruby/Gems/gems/hutch-xamplr-1.0.4/lib/xamplr/persisters/tokyo-cabinet.rb:56}
284
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#now (ruby_runtime:0}
285
+ 0.00 0.00 0.00 0.00 0.00 1 Time#to_f (ruby_runtime:0}
286
+ 0.00 0.00 0.00 0.00 0.00 1 Time#initialize (ruby_runtime:0}
287
+ 0.00 0.00 0.00 0.00 0.00 1 <Class::Time>#allocate (ruby_runtime:0}
288
+
289
+
290
+ tokyo-cabinet.rb:286 stop this profiler
291
+ iter: 1 in 105.592244
292
+ "parsed in 0.773541, processed in: 176.208782"
293
+ created addresses: 10000, shared: 10000
294
+ 178.22 real 122.85 user 48.36 sys