Skip to content

YassinEldeeb/rust-embedded-langs-vs-native-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Transformations - Native vs VRL vs Rhai

Note: benchmarks are ran within GitHub CI which might introduce a bit of noise, though, we can make a bold assumption that noise that will affect one will affect others. Since the benchmark only lasts a few seconds each.

Benchmark Time (in µs)
Native 210.2
VRL 539.6
Rhai 4148.8

Benchmark Bar Chart

Click to expand logs

Rust Benchmark Output:

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Rhai                    time:   [4.1447 µs 4.1488 µs 4.1542 µs]
Found 9 outliers among 100 measurements (9.00%)
  1 (1.00%) low mild
  2 (2.00%) high mild
  6 (6.00%) high severe

VRL                     time:   [538.67 ns 539.61 ns 540.77 ns]
Found 4 outliers among 100 measurements (4.00%)
  2 (2.00%) low mild
  2 (2.00%) high mild

Native                  time:   [208.42 ns 210.21 ns 212.46 ns]
Found 13 outliers among 100 measurements (13.00%)
  1 (1.00%) high mild
  12 (12.00%) high severe

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages