Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Performance X路径查询性能_Performance_Xpath - Fatal编程技术网

Performance X路径查询性能

Performance X路径查询性能,performance,xpath,Performance,Xpath,以下哪项查询被认为是性能方面的问题: //*/*/*/*/* 或 或 据我所知,第二个计算起来会更复杂 谢谢。关于执行时间:由于存在许多影响因素,因此没有明显的差异,但无论如何,每个请求的微小执行时间几乎相同。 在当前页面上,每个请求的平均执行时间为0.07–0.09µs;1微秒=1秒*10^-6 让ArreExecutionTime=[]; 函数getAverageExecutionTime(定位器){ 设maxIteration=1000; 设timeTotal=0; for(设i=0;

以下哪项查询被认为是性能方面的问题:

//*/*/*/*/*

据我所知,第二个计算起来会更复杂


谢谢。

关于执行时间:由于存在许多影响因素,因此没有明显的差异,但无论如何,每个请求的微小执行时间几乎相同。 在当前页面上,每个请求的平均执行时间为0.07–0.09µs;1微秒=1秒*10^-6

让ArreExecutionTime=[];
函数getAverageExecutionTime(定位器){
设maxIteration=1000;
设timeTotal=0;
for(设i=0;i(1)太宽泛(2)没有上下文(3)没有处理器说明(4)没有进行测量(5)问性能问题的人患有1-4级疾病几乎从来没有实际的性能问题。
//ancestor-or-self::*/ancestor-or-self::*/ancestor-or-self::*/ancestor-or-self::*/ancestor-or-self::*
/descendant-or-self::*/*/*/*