Skip to content

Instantly share code, notes, and snippets.

@zkat
Created June 6, 2009 01:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zkat/124621 to your computer and use it in GitHub Desktop.
Save zkat/124621 to your computer and use it in GitHub Desktop.
SHEEPLE> (sb-sprof:with-profiling (:report :flat :max-samples 500)
(dotimes (i 2000) (clone () ())))
Profiler sample vector full (155 traces / 5000 samples), doubling the size
Profiler sample vector full (309 traces / 10000 samples), doubling the size
Number of samples: 500
Sample interval: 0.01 seconds
Total sampling time: 5.0 seconds
Number of cycles: 0
Sampled threads:
#<SB-THREAD:THREAD "repl-thread" RUNNING {B296A11}>
Self Total Cumul
Nr Count % Count % Count % Calls Function
------------------------------------------------------------------------
1 231 46.2 231 46.2 231 46.2 - (LABELS SB-IMPL::EQUAL-AUX)
2 97 19.4 324 64.8 328 65.6 - EQUAL
3 67 13.4 237 47.4 395 79.0 - (FLET #:BODY-FUN-[GETHASH3]1080)
4 56 11.2 235 47.0 451 90.2 - (FLET #:BODY-FUN-[%PUTHASH]1327)
5 21 4.2 21 4.2 472 94.4 - SB-VM::GENERIC-+
6 3 0.6 3 0.6 475 95.0 - UNION
7 2 0.4 13 2.6 477 95.4 - MEMOIZE-SHEEP-HIERARCHY-LIST
8 2 0.4 11 2.2 479 95.8 - COMPUTE-SHEEP-HIERARCHY-LIST
9 2 0.4 3 0.6 481 96.2 - PARSE-LAMBDA-LIST
10 2 0.4 2 0.4 483 96.6 - SUBSEQ
11 2 0.4 2 0.4 485 97.0 - (FLET #:CLEANUP-FUN-[SUB-GC]85)
12 1 0.2 500 100.0 486 97.2 - SPAWN-SHEEP
13 1 0.2 236 47.2 487 97.4 - MEMOIZE-MESSAGE-DISPATCH
14 1 0.2 4 0.8 488 97.6 - %MAKE-SHEEP
15 1 0.2 4 0.8 489 97.8 - ADD-PARENTS
16 1 0.2 4 0.8 490 98.0 - %FIND-APPLICABLE-MESSAGES
17 1 0.2 2 0.4 491 98.2 - REMOVE
18 1 0.2 2 0.4 492 98.4 - MAKE-HASH-TABLE
19 1 0.2 1 0.2 493 98.6 - LENGTH
20 1 0.2 1 0.2 494 98.8 - SB-KERNEL:%COERCE-CALLABLE-TO-FUN
21 1 0.2 1 0.2 495 99.0 - SET-DIFFERENCE
22 1 0.2 1 0.2 496 99.2 - SB-IMPL::%MAKE-HASH-TABLE
23 1 0.2 1 0.2 497 99.4 - LOCAL-PRECEDENCE-ORDERING
24 1 0.2 1 0.2 498 99.6 - SB-KERNEL::%CHECK-STRUCTURE-TYPE-FROM-LAYOUT
25 1 0.2 1 0.2 499 99.8 - PARSE-LAMBDA-LIST-LIKE-THING
26 1 0.2 1 0.2 500 100.0 - CADR
27 0 0.0 500 100.0 500 100.0 - "Unknown component: #xAD56068"
28 0 0.0 500 100.0 500 100.0 - SB-INT:SIMPLE-EVAL-IN-LEXENV
29 0 0.0 500 100.0 500 100.0 - SWANK::EVAL-REGION
30 0 0.0 500 100.0 500 100.0 - "Unknown component: #xAEB6068"
31 0 0.0 500 100.0 500 100.0 - SWANK::TRACK-PACKAGE
32 0 0.0 500 100.0 500 100.0 - SWANK::CALL-WITH-RETRY-RESTART
33 0 0.0 500 100.0 500 100.0 - SWANK::CALL-WITH-BUFFER-SYNTAX
34 0 0.0 500 100.0 500 100.0 - SWANK::REPL-EVAL
35 0 0.0 500 100.0 500 100.0 - SWANK::EVAL-FOR-EMACS
36 0 0.0 500 100.0 500 100.0 - SWANK::PROCESS-REQUESTS
37 0 0.0 500 100.0 500 100.0 - "Unknown component: #xBD02360"
38 0 0.0 500 100.0 500 100.0 - (LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN))
39 0 0.0 500 100.0 500 100.0 - SWANK::CALL-WITH-BINDINGS
40 0 0.0 500 100.0 500 100.0 - SWANK::CALL-WITH-CONNECTION
41 0 0.0 500 100.0 500 100.0 - SWANK::HANDLE-REQUESTS
42 0 0.0 500 100.0 500 100.0 - (FLET SB-THREAD::WITH-MUTEX-THUNK)
43 0 0.0 500 100.0 500 100.0 - (FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-MUTEX]478)
44 0 0.0 500 100.0 500 100.0 - SB-THREAD::CALL-WITH-MUTEX
45 0 0.0 500 100.0 500 100.0 - "Unknown component: #x94E40E8"
46 0 0.0 479 95.8 500 100.0 - APPLY-BUZZWORD
47 0 0.0 243 48.6 500 100.0 - FIND-APPLICABLE-MESSAGES
48 0 0.0 237 47.4 500 100.0 - SB-IMPL::GETHASH3
49 0 0.0 235 47.0 500 100.0 - SB-KERNEL:%PUTHASH
50 0 0.0 10 2.0 500 100.0 - (LAMBDA (SHEEP &KEY PROPERTIES NICKNAME DOCUMENTATION DEEP-COPY SHALLOW-COPY))
51 0 0.0 10 2.0 500 100.0 - (LAMBDA (ARGS))
52 0 0.0 9 1.8 500 100.0 - FINALIZE-SHEEP
53 0 0.0 5 1.0 500 100.0 - COLLECT-PARENTS
54 0 0.0 3 0.6 500 100.0 - EXECUTE-CLONEFUNCTIONS
55 0 0.0 3 0.6 500 100.0 - TOPOLOGICAL-SORT
56 0 0.0 2 0.4 500 100.0 - AVAILABLE-CLONEFORMS
57 0 0.0 2 0.4 500 100.0 - FETCH-MEMO-ENTRY
58 0 0.0 2 0.4 500 100.0 - SB-KERNEL:SUB-GC
59 0 0.0 1 0.2 500 100.0 - REMOVE-DUPLICATES
60 0 0.0 1 0.2 500 100.0 - MAPAPPEND
61 0 0.0 1 0.2 500 100.0 - SB-KERNEL:%MEMBER-KEY
62 0 0.0 1 0.2 500 100.0 - REMOVE-IF
------------------------------------------------------------------------
0 0.0 elsewhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment