about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-11-15 20:18:29 +0100
committerbptato <nincsnevem662@gmail.com>2021-11-15 20:18:29 +0100
commit9b95435ae6a859f5da69d2fc473099df5102e243 (patch)
tree65b9d25fef0064fa9401543b15e5fda83b58df7a /src/main.nim
parent0dc4172725322bdfd66353051cae1b929be52679 (diff)
downloadchawan-9b95435ae6a859f5da69d2fc473099df5102e243.tar.gz
Profiling and more CSS compatibility
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.nim b/src/main.nim
index 873364b0..dc3db21c 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -3,6 +3,8 @@ import uri
 import os
 import streams
 import terminal
+when defined(profile):
+  import nimprof
 
 import html/parser
 import io/buffer