Dataflow-based modeling and performance analysis for online gesture recognition