zhuqi-lucas commented on issue #16200:
URL: https://github.com/apache/datafusion/issues/16200#issuecomment-2965622944

   It seems no difference about tpch which already with page_index for the 
testing files, will investigate.
   
   ```rust
   ./benchmarks/bench.sh compare  load_page_index  
load_page_index_with_column_id
   Comparing load_page_index and load_page_index_with_column_id
   --------------------
   Benchmark tpch_sf1.json
   --------------------
   
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
   ┃ Query        ┃ load_page_index ┃ load_page_index_with_column_id ┃       
Change ┃
   
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
   │ QQuery 1     │        57.33 ms │                       56.77 ms │    no 
change │
   │ QQuery 2     │        18.82 ms │                       18.24 ms │    no 
change │
   │ QQuery 3     │        29.33 ms │                       28.72 ms │    no 
change │
   │ QQuery 4     │        20.27 ms │                       19.93 ms │    no 
change │
   │ QQuery 5     │        38.64 ms │                       38.79 ms │    no 
change │
   │ QQuery 6     │        17.64 ms │                       18.77 ms │ 1.06x 
slower │
   │ QQuery 7     │        48.37 ms │                       48.38 ms │    no 
change │
   │ QQuery 8     │        37.18 ms │                       38.67 ms │    no 
change │
   │ QQuery 9     │        45.32 ms │                       45.97 ms │    no 
change │
   │ QQuery 10    │        42.06 ms │                       40.60 ms │    no 
change │
   │ QQuery 11    │        13.36 ms │                       13.02 ms │    no 
change │
   │ QQuery 12    │        31.59 ms │                       30.11 ms │    no 
change │
   │ QQuery 13    │        28.35 ms │                       27.97 ms │    no 
change │
   │ QQuery 14    │        22.29 ms │                       21.75 ms │    no 
change │
   │ QQuery 15    │        32.08 ms │                       32.58 ms │    no 
change │
   │ QQuery 16    │        13.15 ms │                       12.78 ms │    no 
change │
   │ QQuery 17    │        58.29 ms │                       56.34 ms │    no 
change │
   │ QQuery 18    │        66.70 ms │                       65.19 ms │    no 
change │
   │ QQuery 19    │        34.23 ms │                       35.21 ms │    no 
change │
   │ QQuery 20    │        26.83 ms │                       27.17 ms │    no 
change │
   │ QQuery 21    │        57.99 ms │                       56.34 ms │    no 
change │
   │ QQuery 22    │        12.76 ms │                       14.69 ms │ 1.15x 
slower │
   
└──────────────┴─────────────────┴────────────────────────────────┴──────────────┘
   ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
   ┃ Benchmark Summary                             ┃          ┃
   ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
   │ Total Time (load_page_index)                  │ 752.58ms │
   │ Total Time (load_page_index_with_column_id)   │ 747.99ms │
   │ Average Time (load_page_index)                │  34.21ms │
   │ Average Time (load_page_index_with_column_id) │  34.00ms │
   │ Queries Faster                                │        0 │
   │ Queries Slower                                │        2 │
   │ Queries with No Change                        │       20 │
   │ Queries with Failure                          │        0 │
   └───────────────────────────────────────────────┴──────────┘
   --------------------
   Benchmark tpch_sf10.json
   --------------------
   
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
   ┃ Query        ┃ load_page_index ┃ load_page_index_with_column_id ┃       
Change ┃
   
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
   │ QQuery 1     │       450.45 ms │                      450.69 ms │    no 
change │
   │ QQuery 2     │        97.15 ms │                       97.04 ms │    no 
change │
   │ QQuery 3     │       242.00 ms │                      244.22 ms │    no 
change │
   │ QQuery 4     │       216.88 ms │                      214.72 ms │    no 
change │
   │ QQuery 5     │       342.74 ms │                      361.20 ms │ 1.05x 
slower │
   │ QQuery 6     │       112.64 ms │                      114.86 ms │    no 
change │
   │ QQuery 7     │       493.75 ms │                      492.92 ms │    no 
change │
   │ QQuery 8     │       371.66 ms │                      369.60 ms │    no 
change │
   │ QQuery 9     │       570.78 ms │                      557.16 ms │    no 
change │
   │ QQuery 10    │       335.92 ms │                      335.63 ms │    no 
change │
   │ QQuery 11    │        79.16 ms │                       78.40 ms │    no 
change │
   │ QQuery 12    │       219.40 ms │                      221.33 ms │    no 
change │
   │ QQuery 13    │       351.92 ms │                      352.46 ms │    no 
change │
   │ QQuery 14    │       153.00 ms │                      157.93 ms │    no 
change │
   │ QQuery 15    │       234.84 ms │                      245.17 ms │    no 
change │
   │ QQuery 16    │        68.48 ms │                       68.32 ms │    no 
change │
   │ QQuery 17    │       575.90 ms │                      581.62 ms │    no 
change │
   │ QQuery 18    │       918.74 ms │                      907.32 ms │    no 
change │
   │ QQuery 19    │       263.25 ms │                      258.99 ms │    no 
change │
   │ QQuery 20    │       240.50 ms │                      235.13 ms │    no 
change │
   │ QQuery 21    │       666.53 ms │                      674.95 ms │    no 
change │
   │ QQuery 22    │        95.81 ms │                       91.15 ms │    no 
change │
   
└──────────────┴─────────────────┴────────────────────────────────┴──────────────┘
   ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
   ┃ Benchmark Summary                             ┃           ┃
   ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
   │ Total Time (load_page_index)                  │ 7101.52ms │
   │ Total Time (load_page_index_with_column_id)   │ 7110.78ms │
   │ Average Time (load_page_index)                │  322.80ms │
   │ Average Time (load_page_index_with_column_id) │  323.22ms │
   │ Queries Faster                                │         0 │
   │ Queries Slower                                │         1 │
   │ Queries with No Change                        │        21 │
   │ Queries with Failure                          │         0 │
   └───────────────────────────────────────────────┴───────────┘
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to