Skip to content

Rust benchmark is not running, incorrect syntax in the dataflow.xml file? #6

@gbin

Description

@gbin

pal ➜ rs-latency (main) ✗ ll ./target/release/benchmark-example-node
.rwxr-xr-x gbin gbin 7.5 MB Wed Jul 9 14:48:24 2025  ./target/release/benchmark-example-node
pal ➜ rs-latency (main) ✗ ll ./target/release/benchmark-example-sink
.rwxr-xr-x gbin gbin 7.5 MB Wed Jul 9 14:48:24 2025  ./target/release/benchmark-example-sink
pal ➜ rs-latency (main) ✗ cat dataflow.yml
nodes:

  • id: rust-node
    custom:
    build: cargo build -p benchmark-example-node --release
    source: ./target/release/benchmark-example-node
    inputs:
    tick: dora/timer/millis/20
    outputs:
    - latency
    - throughput
  • id: rust-sink
    custom:
    build: cargo build -p benchmark-example-sink --release
    source: ./target/release/benchmark-example-sink
    inputs:
    latency: rust-node/latency
    throughput: rust-node/throughput
    pal ➜ rs-latency (main) ✗ dora start dataflow.yml

[ERROR]
Failed to read yaml dataflow

Caused by:
0: failed to parse given descriptor
1: nodes[0].custom.source: unknown variant ./target/release/benchmark-example-node, expected Local or GitBranch at line 5 column 15

Location:
/home/gbin/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dora-core-0.3.12/src/descriptor/mod.rs:135:38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions