Commit Graph

30 Commits

Author SHA1 Message Date
Tom Alexander 655af88cdf
Add scripts for running perf and callgrind. 2023-08-22 14:21:27 -04:00
Tom Alexander 2cd6f736c2
Fix building without compare feature.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
2023-08-17 00:13:25 -04:00
Tom Alexander 74f4aa8d33
Remove dependency on files for running compare.
The tests still use files since they get the test name from a file but compare does the same action via stdin so it can operator on any org source.
2023-08-16 23:56:05 -04:00
Tom Alexander 823c33ef8e
Reduce use of expect in main.rs 2023-08-16 16:37:14 -04:00
Tom Alexander e5e5120a10
Move telemetry handling to the tracing-specific main function.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
This is so main_body can exit with an error at any time without missing the shutdown_telemetry function. This does not catch panics.
2023-08-16 16:05:24 -04:00
Tom Alexander dae46adc12
Feature-gate tracing import.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
2023-08-14 23:33:38 -04:00
Tom Alexander 63d092c83d
Group the two traces per compare into one trace. 2023-08-14 22:10:58 -04:00
Tom Alexander 2bcc3f0599
Fix reporting of jaeger traces when diff does not match.
The early exit was causing some traces to not be reported.
2023-08-14 17:32:09 -04:00
Tom Alexander 290a700a22
New, updated opentelemetry tracing exporter. 2023-08-10 23:27:15 -04:00
Tom Alexander 44ad6753ca
Fix feature gating the compare code. 2023-08-10 20:22:34 -04:00
Tom Alexander 66c71e7e40
Switch the compiled bin to running a diff just like the automated tests.
This is mostly so I can test a variety of org-mode documents without needing to integrate them into the org samples folder.
2023-08-10 18:46:19 -04:00
Tom Alexander 0ca6ce504f
Simulate trailing whitespace in empty greater blocks just like drawers. 2023-04-22 21:45:18 -04:00
Tom Alexander 77f2d23036
Switch back to org-mode for the parsing binary. 2023-04-21 21:18:30 -04:00
Tom Alexander 517e826f4e
Demonstrating the problem. 2023-04-21 21:01:26 -04:00
Tom Alexander 2d4a592846
Expose the parser module instead of re-exporting all of its contents. 2023-04-21 19:05:30 -04:00
Tom Alexander d2fe100435
Change the binary to use the library.
Mostly just hoping this make rust-analyzer happier.
2023-04-21 15:28:46 -04:00
Tom Alexander 5d7ca1b966
Fix handling of whitespace. 2023-04-11 15:08:46 -04:00
Tom Alexander ddea313401
Ensure the final span is shipped to jaeger before exiting. 2023-04-03 18:57:31 -04:00
Tom Alexander d4887ec311
Disable stdout for traces.
Frankly the stdout traces are pretty useless if you have anything more than the most trivial amount of entries.
2023-04-03 18:52:11 -04:00
Tom Alexander e1fbe36297
Exporting traces to jaeger. 2023-03-27 17:06:22 -04:00
Tom Alexander a77d2655bd
Instrument the code. 2023-03-27 16:36:43 -04:00
Tom Alexander 2ab407bb83
Invoke the document parser. 2023-03-25 11:27:38 -04:00
Tom Alexander 5c8a064eca
Start writing the parser for headings. 2023-03-23 19:35:32 -04:00
Tom Alexander d98a11059c
Introduce the document structure. 2023-03-23 17:52:16 -04:00
Tom Alexander b2742f89e2
Cleaning up. 2022-12-11 00:13:19 -05:00
Tom Alexander cdb35edd64
Trace span events. 2022-11-25 17:55:11 -05:00
Tom Alexander 1fcb32d3c6
Explicitly set settings for the tracing subscriber. 2022-11-25 17:49:38 -05:00
Tom Alexander e0a9c49e9f
Switch to using tracing instead of logging. 2022-11-25 17:27:29 -05:00
Tom Alexander fdd5b532fc
Expose a document parser and implement the paragraph parser so something is hitting our macro. 2022-07-16 18:26:53 -04:00
Tom Alexander ee9e6297a6
Initial setup for the parser. 2022-07-16 14:17:33 -04:00