From: James Moger Date: Fri, 26 Aug 2011 14:21:00 +0000 (-0400) Subject: Documentation. X-Git-Tag: v0.7.1~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=405cd2f14253a6cb83de6eee0a911f73dc466bbc;p=iciql.git Documentation. --- diff --git a/docs/03_performance.mkd b/docs/03_performance.mkd index 377d222..34e545c 100644 --- a/docs/03_performance.mkd +++ b/docs/03_performance.mkd @@ -9,10 +9,12 @@ Performance of iciql statement generation is not currently benchmarked. ### iciql+database performance comparison -The following data was generated by running the *single-threaded* iciql test suite. All database connections are pooled and re-used within each execution of the test suite using [Apache Commons DBCP](http://commons.apache.org/dbcp). All tables are created as CACHED when the database distinguishes between CACHED and MEMORY tables. +The following data was generated by running the *single-threaded* iciql test suite. All database connections are pooled and re-used within each execution of the test suite using [Apache Commons DBCP](http://commons.apache.org/dbcp). Connections are pooled to normalize embedded database performance with out-of-process database performance. Some of the Java embedded database configurations have a very high startup-time penalty. Notably, H2 is slow to open a database and its performance is substantially affected if connection pooling is not enabled to keep the embedded database open. +All tables are created as CACHED when the database distinguishes between CACHED and MEMORY tables. + All performance numbers include the combined overhead of iciql statement generation and JUnit 4 test framework execution so they are not bare-metal database metrics.
diff --git a/docs/06_jaqu_comparison.mkd b/docs/06_jaqu_comparison.mkd
new file mode 100644
index 0000000..da7da41
--- /dev/null
+++ b/docs/06_jaqu_comparison.mkd
@@ -0,0 +1,25 @@
+
+## Comparison to JaQu 
+
+This is an overview of the fundamental differences between the original JaQu project and the current featureset of iciql.  
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
IciqlJaQu
core
deploymentsmall, discrete librarydepends on H2 database jar file
databasessupports H2, HSQL, Derby, MySQL, and PostreSQLsupports H2 only
loggingsupports console, SLF4J, or custom loggingsupports console logging
exceptionsalways includes generated statement in exception, when available--
syntax and api
dynamic queriesmethods and where clauses for dynamic queries that build iciql objects--
DROPsyntax to drop a table
BETWEENsyntax for specifying a BETWEEN x AND y clause--
types
primitivesfully supported--
enumsfully supported--
DECIMAL(length,scale)can specify length/precision and scale--
BOOLEANflexible mapping of boolean as bool, varchar, or int--
BLOBpartially supported *(can not be used in a WHERE clause)*--
UUIDfully supported *(H2 only)* --
DEFAULT valuesset from annotations or *default object values*set from annotations
\ No newline at end of file