If you have specs that make you update every 5ms or so, you will have to use a different approach which prevents starting and stopping processes all the time. Make a process that runs all the time and takes the result from your sketch and does e.g. WebSocket communication with your HTML clients.
A simple solution could be that you write your values to a file and have some python script monitoring the file and send the new values to the web. For a python based WebSocket Server have a look at http://www.tornadoweb.org or go all the way to node.js.
A more advanced solution would enable a more direct communication between your sketch and python by skipping bridge at all.