An efficient way of decorating all parenthesis in a line

What is the best way of stylizing all parentheses?

I have some objects, which increase the total height of the line in the editor

And it would be nice to automatically stretch () to match the height of the parent DOM element. Should it be a good job for mark decorations? I am afraid of the extra load given by spawning many small widgets.

Thanks