1 Time required for parsing a simple document (wc: 99621 298859 3267087).
3 ;; CXML with NIL builder
4 ;; (cxml:parse-file "~/test.xml" nil)
6 ; cpu time (non-gc) 12,940 msec user, 20 msec system
7 ; cpu time (gc) 0 msec user, 0 msec system
8 ; cpu time (total) 12,940 msec user, 20 msec system
9 ; real time 12,991 msec
11 ; 4,184,599 cons cells, 47,682,392 other bytes, 0 static bytes
13 ;; CXML with xmls-compatible builder
14 ;; (cxml:parse-file "~/test.xml" (cxml-xmls:make-xmls-builder))
16 ; cpu time (non-gc) 14,370 msec user, 20 msec system
17 ; cpu time (gc) 0 msec user, 0 msec system
18 ; cpu time (total) 14,370 msec user, 20 msec system
19 ; real time 14,387 msec
21 ; 8,667,564 cons cells, 47,682,600 other bytes, 0 static bytes
23 ;; For comparison: xmls.lisp
24 ;; (with-open-file (s "~/test.xml") (xmls:parse s :compress-whitespace nil))
26 ; cpu time (non-gc) 27,440 msec user, 50 msec system
27 ; cpu time (gc) 860 msec user, 0 msec system
28 ; cpu time (total) 28,300 msec user, 50 msec system
29 ; real time 28,813 msec
31 ; 14,821,161 cons cells, 243,886,592 other bytes, 0 static bytes
33 ;; CXML with DOM builder
34 ;; (cxml:parse-file "~/test.xml" (dom:make-dom-builder))
36 ; cpu time (non-gc) 34,900 msec user, 40 msec system
37 ; cpu time (gc) 760 msec user, 0 msec system
38 ; cpu time (total) 35,660 msec user, 40 msec system
39 ; real time 35,822 msec
41 ; 14,645,503 cons cells, 300,235,640 other bytes, 0 static bytes