Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added test cases.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: afbf750fd468f7bc5336e92404bb5413b35f0200fe03533d02ef4c2f21c1812e
User & Date: rolf 2019-07-19 23:49:56
Context
2019-07-20
01:25
Added more. check-in: dce94477ff user: rolf tags: trunk
2019-07-19
23:49
Added test cases. check-in: afbf750fd4 user: rolf tags: trunk
2019-07-16
20:47
Modified test to work as intended on 32-bit also. Fixes [156ce3b130e8]. check-in: 4aa07a679d user: rolf tags: trunk
Changes

Changes to tests/xpath.bench.

77
78
79
80
81
82
83


















84
85
86
87
88
89
90
        }
    } -body {
        $root selectNodes {e1[myfunc() = '']}
    } -post {
        $doc delete
    }



















}

dom createNodeCmd elementNode e2

dom createDocument root doc
$doc documentElement root
$root appendFromScript {







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
        }
    } -body {
        $root selectNodes {e1[myfunc() = '']}
    } -post {
        $doc delete
    }

}

foreach nrOf {1 10 50 100} {

    bench -desc "string(<nodeset with $nrOf nodes>)" -pre {
        dom createDocument root doc
        $doc documentElement root
        $root appendFromScript {
            for {set x 0} {$x < $nrOf} {incr x} {
                e1
            }
        }
    } -body {
        $root selectNodes string(e1)
    } -post {
        $doc delete
    }

}

dom createNodeCmd elementNode e2

dom createDocument root doc
$doc documentElement root
$root appendFromScript {