- Command: (benchmark '( (test1) (test2) ))
- Elapsed milliseconds / relative speed for 4096 iteration(s):
- (TEST1).....1625 / 1 <fastest>
- (TEST2).....1625 / 1 <slowest>
- Command: (benchmark '( (test1) (test2) ))
- Elapsed milliseconds / relative speed for 4096 iteration(s):
- (TEST1).....1625 / 1 <fastest>
- (TEST2).....1625 / 1 <slowest>
- Command: (benchmark '( (test1) (test2) ))
- Elapsed milliseconds / relative speed for 4096 iteration(s):
- (TEST1).....1609 / 1.02 <fastest>
- (TEST2).....1640 / 1 <slowest>
- Command: (benchmark '( (test1) (test2) ))
- Elapsed milliseconds / relative speed for 4096 iteration(s):
- (TEST1).....1609 / 1.01 <fastest>
- (TEST2).....1625 / 1 <slowest>
- (defun test1 (/)
- (repeat 10 (mapcar '(lambda (a b) (strcat a " " b))
- '("A" "B" "C")
- '("1" "2" "3"))))
- (defun test2 (/)
- (repeat 10 (mapcar (function (lambda (a b) (strcat a " " b)))
- '("A" "B" "C")
- '("1" "2" "3"))))
我需要在更复杂的东西上运行它。 |