Marginally has 2 different meanings across 1 category:
Adverb
in a marginal manner
"marginally interesting"
In a marginal manner, or to a marginal extent; barely sufficiently; slightly.
"The new software update marginally improved the app's speed, but it still feels sluggish on my older phone."