Skip to content

Develop a soak test for the Vrl Bytecode VM #9832

@StephenWakely

Description

@StephenWakely

Ref #9515

It would be highly useful to have some accurate benchmarks for the work in #9829 so we can ascertain how much of a benefit moving Vrl to compile and run with a Bytecode VM.

A useful config to test with would be:

[sources.in]
type = "http"
address = "0.0.0.0:8080"
encoding = "text"

[transforms.remap]
type = "remap"
inputs = ["in"]
source = '''
.hostname = "vector"

if .status == "warning" {
  .thing = upcase(.hostname)
} else if .status == "notice" {
  .thung = downcase(.hostname)
} else {
  .nong = upcase(.hostname)
}

.matches = { "name": .message, "num": "2" }
.origin, .err = .hostname + "/" + .matches.name + "/" + .matches.num
'''

[sinks.blackhole]
type = "blackhole"
inputs = ["remap"]

SHA to test against: 9d6108d

Metadata

Metadata

Assignees

Labels

type: taskGeneric non-code related tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions