private static String generateHtml(List<String> storesBySizeList , Set<QueryResult> results) {
        StringBuilder sbuff = new StringBuilder() ;
        sbuff.append("<h4>Queries per second</h4>\n\n") ;
        
        if ( labels.size() > 0 ) {
            sbuff.append("<blockquote>") ;                
            for ( String x : labels )
                sbuff.append("<p>").append(x).append("</p>\n") ;
            sbuff.append("</blockquote>\n\n") ;                
        }
        
        sbuff.append("<table style=\"text-align: center; \" border=\"1\" cellpadding=\"1\" cellspacing=\"1\">\n") ;
        sbuff.append("<tr>\n") ;
        sbuff.append("   <th>&nbsp;</th>\n") ;
        for ( String s : storesBySizeList )
            sbuff.append("   <th>"+s+"</th>\n") ;
        sbuff.append("</tr>\n") ;
        
        for ( String qn : queries ) {
            sbuff.append("<tr>\n") ;
            sbuff.append("   <td>"+qn+"</td>\n") ;
            for ( String s : storesBySizeList ) {
                QueryResult qr = getQueryResult(results, qn, s) ;
                
                if ( qr == null )
                    sbuff.append("   <td> ---- </td>\n") ;
                else
                    sbuff.append(String.format("   <td>%.1f [%.2fms]</td>\n", qr.qps, (1000/qr.qps))) ;
            }
            sbuff.append("</tr>\n") ;
        }
        sbuff.append("</table>") ;
        return sbuff.toString() ; 
    }