Files
RustAst/examples/pipeline.myc
T
Michael Schimmel d1b8d03604 Update benchmark and repeat counts
This commit updates the benchmark and repeat counts for various example
files. These changes reflect potential performance improvements or
variations observed during testing.
2026-03-03 18:55:31 +01:00

25 lines
388 B
Plaintext

;; Benchmark: 2.1us
;; Benchmark-Repeat: 921
;; Output: PipelineNode[last: Some(110.45243843391206)]
(do
(def src1 (create-random-ohlc 42 3))
(def combined
(pipe [src1]
(fn [t1]
(.close t1)
)
)
)
(def my_indicator
(pipe [combined]
(fn [close_price]
(+ close_price 10.0)
)
)
)
my_indicator
)