Skip to content

Instantly share code, notes, and snippets.

@nyuichi
Created December 12, 2012 11:10
Show Gist options
  • Select an option

  • Save nyuichi/4267010 to your computer and use it in GitHub Desktop.

Select an option

Save nyuichi/4267010 to your computer and use it in GitHub Desktop.
profile decompose-interference
STL> (decompose-interference dat)
seconds | gc | consed | calls | sec/call | name
---------------------------------------------------------
0.010 | 0.000 | 1,375,520 | 4,034 | 0.000002 | GET-NEAREST-NEIGHBOR
0.005 | 0.000 | 98,304 | 17,712 | 0.000000 | GET-SEGMENT-SEGMENT-INTERSECTIONS
0.003 | 0.000 | 0 | 12,102 | 0.000000 | CATEGORIZE-FLOAT
0.002 | 0.000 | 0 | 13,052 | 0.000000 | POINT-IS-ON-TRIANGLE-EDGES-P
0.002 | 0.000 | 0 | 99 | 0.000022 | SPLIT-TRIANGLE
0.001 | 0.000 | 0 | 23,616 | 0.000000 | MAKE-SEGMENT
0.001 | 0.000 | 0 | 18,060 | 0.000000 | TAKE-A-VERTEX
0.001 | 0.000 | 0 | 204 | 0.000004 | (SETF GET-CORRESPONDING-TRIANGLE)
0.001 | 0.000 | 0 | 131 | 0.000004 | CALC-NORMAL-VECTOR
0.000 | 0.000 | 0 | 68 | 0.000007 | PUSH-TRIANGLE
0.000 | 0.000 | 0 | 99 | 0.000004 | POINT-IS-ON-TRIANGLE-P
0.000 | 0.000 | 0 | 204 | 0.000000 | GET-CORRESPONDING-TRIANGLE
0.000 | 0.000 | 0 | 1,140 | 0.000000 | TRIANGLES-CONNECTS-NORMALLY-P
0.000 | 0.000 | 0 | 1 | 0.000000 | MAKE-TRIMESH
0.000 | 0.000 | 3,242,416 | 65,222 | 0.000000 | MAKE-VECTOR3
0.000 | 0.000 | 0 | 90 | 0.000000 | GET-ALL-CHILDREN
0.000 | 0.000 | 0 | 4,034 | 0.000000 | INTERN-POINT
0.000 | 0.000 | 0 | 131 | 0.000000 | CREATE-TRIANGLE
0.000 | 0.000 | 0 | 1,126 | 0.000000 | SEGMENT->VECTOR3
0.000 | 0.000 | 32,768 | 46 | 0.000000 | RESOLVE-INTERFERENCE
0.000 | 0.000 | 0 | 90 | 0.000000 | COLLECT-SOURCES
0.000 | 0.000 | 0 | 46 | 0.000000 | SPLIT-TRIANGLE-RECURSIVELY
0.000 | 0.000 | 0 | 5,904 | 0.000000 | GET-SEGMENT-TRIANGLE-INTERSECTIONS
0.000 | 0.000 | 392,992 | 4,034 | 0.000000 | CATEGORIZE-POINT
0.000 | 0.000 | 0 | 1,140 | 0.000000 | GET-VALID-TRIANGLE-TRIANGLE-INTERSECTIONS
0.000 | 0.000 | 32,256 | 46 | 0.000000 | REGISTER-TRIANGLE-FRAGMENTATION
0.000 | 0.000 | 0 | 12,953 | 0.000000 | POINT-IS-INSIDE-TRIANGLE-P
0.000 | 0.000 | 0 | 5,904 | 0.000000 | GET-SEGMENT-PLANE-INTERSECTIONS
0.000 | 0.000 | 0 | 106 | 0.000000 | CREATE-SEGMENT
0.000 | 0.000 | 0 | 46 | 0.000000 | RESOLVE-COLLISION
0.000 | 0.000 | 32,768 | 1 | 0.000000 | INIT-DECOMPOSE-INTERFERENCE
0.000 | 0.000 | 0 | 90 | 0.000000 | CORRECT-SOURCES
0.000 | 0.000 | 0 | 1 | 0.000000 | MAKE-TRIMESH-FROM-TRIANGLES
0.000 | 0.000 | 0 | 131 | 0.000000 | MAKE-TRIANGLE
0.000 | 0.000 | 65,536 | 984 | 0.000000 | GET-TRIANGLE-TRIANGLE-INTERSECTIONS
0.000 | 0.000 | 0 | 392 | 0.000000 | DEGENERATED-TRIANGLE-P
0.000 | 0.000 | 31,296 | 70 | 0.000000 | REGISTER-POINT
0.000 | 0.000 | 0 | 1 | 0.000000 | DECOMPOSE-INTERFERENCE
0.000 | 0.000 | 0 | 11,030 | 0.000000 | POINT-IS-ON-PLANE-P
0.000 | 0.000 | 0 | 36,581 | 0.000000 | POINT-IS-ON-SEGMENT-P*
---------------------------------------------------------
0.027 | 0.000 | 5,303,856 | 240,721 | | Total
estimated total profiling overhead: 0.50 seconds
overhead estimation parameters:
1.2e-8s/call, 2.086e-6s total profiling, 9.98e-7s internal profiling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment