/** * Report totals. * <p> * Note: these totals reflect the actual state of the database, not just * the #of triples written by this client. Therefore if there are * concurrent writers then the apparent TPS here will be higher than was * reported by the counters for just this client -- all writers on the * database will have been attributed to just this client. */ public String reportTotals() { // total run time. final long elapsed = elapsed(); final long nterms = db.getTermCount(); final long nstmts = db.getStatementCount(); final double tps = (long) (((double) nstmts) / ((double) elapsed) * 1000d); return "Database: #terms=" + nterms + ", #stmts=" + nstmts + ", rate=" + tps + " in " + elapsed + " ms."; }
/** * Report totals. * <p> * Note: these totals reflect the actual state of the database, not just * the #of triples written by this client. Therefore if there are * concurrent writers then the apparent TPS here will be higher than was * reported by the counters for just this client -- all writers on the * database will have been attributed to just this client. */ public String reportTotals() { // total run time. final long elapsed = elapsed(); final long nterms = db.getTermCount(); final long nstmts = db.getStatementCount(); final double tps = (long) (((double) nstmts) / ((double) elapsed) * 1000d); return "Database: #terms=" + nterms + ", #stmts=" + nstmts + ", rate=" + tps + " in " + elapsed + " ms."; }
log.info("#lits=" + store.getLiteralCount()); log.info("#bnds=" + store.getBNodeCount()); log.info("#vals=" + store.getTermCount()); log.info("\n" + DumpLexicon.dumpBlobs(store + (storeBlankNodes ? nbnodes : 0); assertEquals("#terms", nterms, store.getTermCount());
log.info("#lits=" + store.getLiteralCount()); log.info("#bnds=" + store.getBNodeCount()); log.info("#vals=" + store.getTermCount()); log.info("\n" + DumpLexicon.dumpBlobs(store + (storeBlankNodes ? nbnodes : 0); assertEquals("#terms", nterms, store.getTermCount());
log.info("#lits=" + store.getLiteralCount()); log.info("#bnds=" + store.getBNodeCount()); log.info("#vals=" + store.getTermCount()); log.info("\n" + DumpLexicon.dumpBlobs(store + (storeBlankNodes ? nbnodes : 0); assertEquals("#terms", nterms, store.getTermCount());