microsoft / microsoft/ebpf-for-windows

ebpf_program_execute_test_run should invoke via NMR contract

Open
#2,095 0 comments 0 reactions 0 assignees View on GitHub
cleanup help wanted triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

The current ebpf_program_execute_test_run path bypasses the NMR contract and invokes the program directly. To better measure the actual performance of a BPF program, this path should instead invoke BPF programs via the NMR client dispatch table.

Contributor guide

Open the contributing guide

Research direction

Start by locating the ebpf_program_execute_test_run path and tracing how it currently invokes the program. Compare that path with the NMR client dispatch table; done means BPF programs are invoked through the NMR contract so the performance measurement reflects that dispatch path.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.