Delta profile

angerangel edited this page Jan 3, 2013 · 1 revision

Table of Contents

USAGE

  DELTA-PROFILE block

DESCRIPTION

Delta-profile of running a specific block. DELTA-PROFILE is a function value.

ARGUMENTS

  • block (block!)

SOURCE

delta-profile: make function! [  [
    "Delta-profile of running a specific block."
    block [block!]
    /local start end
][
    start: values-of stats/profile
    do block
    end: values-of stats/profile
    foreach num start [
        change end end/1 - num
        end: next end
    ]
    start: make system/standard/stats []
    set start head end
    start
] ] 
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.