ruby-prof call tree

Call tree for application primes
Generated on Sat Jul 24 08:05:17 +0200 2010 with options {:application=>"primes"}
Threshold:
Enter a decimal value d into the threshold field and click "Apply" to hide all nodes marked with time values lower than d.
Click on "Expand All" for full tree expansion.
Click on "Collapse All" to show only top level nodes.
Use a, s, d, w as in Quake or Urban Terror to navigate the tree.
Use f and b to navigate the tree in preorder forward and backwards.
Use x to toggle visibility of a subtree.
Use * to expand/collapse a whole subtree.
Use h to navigate to thread root.
Use n and p to navigate between threads.
Click on background to move focus to a subtree.
Thread: 2148387240 (100.00% ~ 1.41237)

- 100.00% (100.00%) PrintersTest#setup [1 calls, 1 total]
  - 50.24% (50.24%) PrintersTest#go [1 calls, 1 total]
    - 50.23% (100.00%) Object#run_primes [1 calls, 2 total]
      - 49.72% (98.97%) Object#find_primes [1 calls, 2 total]
        - 49.72% (100.00%) Array#select [1 calls, 2 total]
          - 49.43% (99.42%) Object#is_prime [10000 calls, 20000 total]
            - 48.85% (98.83%) Integer#upto [10000 calls, 20000 total]
              - 7.13% (14.59%) Fixnum#% [778318 calls, 1544726 total]
              - 6.04% (12.36%) Fixnum#== [778318 calls, 1544726 total]
            - 0.09% (0.17%) Fixnum#- [10000 calls, 20000 total]
      - 0.52% (1.03%) Object#make_random_array [1 calls, 2 total]
        - 0.51% (99.22%) Array#each_index [1 calls, 2 total]
          - 0.12% (22.55%) Kernel#rand [10000 calls, 20000 total]
          - 0.09% (18.30%) Array#[]= [10000 calls, 20000 total]
        - 0.00% (0.71%) Class#new [1 calls, 2 total]
          - 0.00% (96.15%) Array#initialize [1 calls, 2 total]
          - 0.00% (1.92%) <Class::Array>#allocate [1 calls, 2 total]
  - 49.76% (49.76%) Object#run_primes [1 calls, 2 total]
    - 49.23% (98.93%) Object#find_primes [1 calls, 2 total]
      - 49.23% (100.00%) Array#select [1 calls, 2 total]
        - 48.94% (99.41%) Object#is_prime [10000 calls, 20000 total]
          - 48.38% (98.84%) Integer#upto [10000 calls, 20000 total]
            - 7.03% (14.53%) Fixnum#% [766408 calls, 1544726 total]
            - 5.89% (12.17%) Fixnum#== [766408 calls, 1544726 total]
          - 0.08% (0.17%) Fixnum#- [10000 calls, 20000 total]
    - 0.53% (1.07%) Object#make_random_array [1 calls, 2 total]
      - 0.53% (99.26%) Array#each_index [1 calls, 2 total]
        - 0.11% (21.47%) Kernel#rand [10000 calls, 20000 total]
        - 0.10% (18.28%) Array#[]= [10000 calls, 20000 total]
      - 0.00% (0.72%) Class#new [1 calls, 2 total]
        - 0.00% (88.89%) Array#initialize [1 calls, 2 total]
        - 0.00% (1.85%) <Class::Array>#allocate [1 calls, 2 total]