Add timing for contract generation.

This commit is contained in:
Vincent St-Amour 2015-09-11 13:39:03 -05:00
parent 5ed30d7fcf
commit f89d91d864

View File

@ -39,7 +39,8 @@
(do-time "Fixed contract ids"))]
;; add the real definitions of contracts on the before- and after-code
[(before-code ...) (change-provide-fixups (flatten-all-begins pre-before-code))]
[(after-code ...) (change-provide-fixups (flatten-all-begins pre-after-code))]
[(after-code ...) (begin0 (change-provide-fixups (flatten-all-begins pre-after-code))
(do-time "Generated contracts"))]
;; potentially optimize the code based on the type information
[(optimized-body ...) (maybe-optimize #'transformed-body)] ;; has own call to do-time
;; add in syntax property on useless expression to draw check-syntax arrows