davisp commented on issue #1557:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/issues/1557#issuecomment-2532639815

   So this is kinda weird. It appears the `--bench` argument that should be 
passed to the benchmark isn't.
   
   Running `cargo flamegraph --root --bench sqlparser_bench`:
   
   
![flamegraph](https://github.com/user-attachments/assets/88a6510a-6a83-44c9-893e-22e06b115e5b)
   
   However, it works fine if I run flamegraph against the binary directly:
   
   `flamegraph --root -- target/release/deps/sqlparser_bench-9f7a6e6e193d8f5c 
--bench`
   
   
![flamegraph](https://github.com/user-attachments/assets/06aae46a-4ff6-4815-ac97-b262141ccc75)
   
   And the easier to remember version works as well:
   
   `cargo flamegraph --root --bench sqlparser_bench -- --bench`:
   
   
![flamegraph](https://github.com/user-attachments/assets/21fa4660-ca54-4940-9167-b35c7f2f1235)
   
   So no idea why that `--bench` is apparently getting dropped but I've managed 
to get things going at least.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to