Scalable Algorithm Design and Performance Analysis for Graph Motifs Discovery