added package "no-mini-profiler" with same interface as "mini-profiler"
This commit is contained in:
parent
956f963829
commit
7d4264837f
|
@ -0,0 +1,20 @@
|
||||||
|
(define (profile-init!)
|
||||||
|
#f)
|
||||||
|
|
||||||
|
(define (display-profile)
|
||||||
|
(display "No profiling data available.")
|
||||||
|
(newline))
|
||||||
|
|
||||||
|
(define-syntax define-prof
|
||||||
|
(syntax-rules
|
||||||
|
()
|
||||||
|
((_ ?args ...)
|
||||||
|
(define ?args ...))))
|
||||||
|
|
||||||
|
(define-syntax account-for
|
||||||
|
(syntax-rules
|
||||||
|
()
|
||||||
|
((_ ?account ?body ...)
|
||||||
|
(begin
|
||||||
|
?body
|
||||||
|
...))))
|
|
@ -5,4 +5,7 @@
|
||||||
extended-ports
|
extended-ports
|
||||||
time)
|
time)
|
||||||
(files profile))
|
(files profile))
|
||||||
|
|
||||||
|
(define-structure no-mini-profiler mini-profiler-interface
|
||||||
|
(open scheme)
|
||||||
|
(files no-profile))
|
||||||
|
|
Loading…
Reference in New Issue