Commit graph

1312 commits

Author SHA1 Message Date
Juho Teperi
c26ae0835d Optimize from-db-object performance for DBObjects
Creating temporary sequence from DBObject is quite slow. Using
.keySet for reduce collection and calling .get inside reduce is
considerably faster. The common code between Map and DBObject
implementations can't be shared as reflection would completely kill the
performance and function can't be type hinted as DBObject doesn't
implement Map interface.

Added a simple test case for the from-db-object performance. I'm seeing
performance increase of 20% on this (170ms -> 140ms).
2015-10-08 22:59:47 +03:00
Juho Teperi
fe73144075 Fix map comparisons and rename test case
Two tests had the same name so only the latter was ran
2015-10-08 22:42:06 +03:00
Michael Klishin
2dc5e92b0c Merge pull request #119 from tommireinikainen/update-contributing-md
Minor updates to CONTRIBUTING.md
2015-09-25 03:24:39 -07:00
Tommi Reinikainen
286493463b add note to run before_script before tests, remove MongoDB version, fix Leiningen link 2015-09-25 10:03:28 +03:00
Michael Klishin
aec51c03f4 MongoDB Java driver 3.0.4 2015-09-25 01:50:27 +03:00
Michael Klishin
7195f77945 Install MongoDB 3.0 before running tests 2015-09-25 01:49:04 +03:00
Michael Klishin
b59ccb4087 Make this script executable 2015-09-25 01:48:58 +03:00
Michael Klishin
9178df179d MongoDB installation script 2015-09-25 01:48:52 +03:00
Michael Klishin
8cefa7fc9e Test 3.0.x, 2.1.x is no longer maintained 2015-09-25 01:48:46 +03:00
Michael Klishin
45599a4f51 Print MongoDB version on Travis 2015-09-25 01:48:35 +03:00
Michael Klishin
4e9f041ce9 Install MongoDB 3.0 before running tests 2015-09-25 01:45:38 +03:00
Michael Klishin
f24ee77730 Make this script executable 2015-09-25 01:44:48 +03:00
Michael Klishin
9928652b79 MongoDB installation script 2015-09-25 01:44:24 +03:00
Michael Klishin
56d16a4cee Test 3.0.x, 2.1.x is no longer maintained 2015-09-25 01:31:23 +03:00
Michael Klishin
a500638891 Print MongoDB version on Travis 2015-09-25 01:31:11 +03:00
Michael Klishin
8bce5ae8ed 3.0.1 is out 2015-09-25 01:28:30 +03:00
Michael Klishin
2dc924faf4 Update change log 2015-09-25 01:28:21 +03:00
Michael Klishin
1f395c4e41 Back to dev version 2015-09-25 01:27:38 +03:00
Michael Klishin
bfac6bbe3a 3.0.1 2015-09-25 01:27:01 +03:00
Michael Klishin
def4ce3e6b Update change log 2015-09-25 01:26:54 +03:00
Michael Klishin
504a358162 MongoDB Java driver 3.0.4 2015-09-25 01:25:48 +03:00
Michael Klishin
5898cfb3bc Back to dev version 2015-09-25 01:25:17 +03:00
Artem Chistyakov
cf86245526 Don’t forget to pass credentials to MongoClient
It looks like provided credentials are ignored unless `server-address` is a collection.
2015-09-25 01:18:13 +03:00
Artem Chistyakov
8316e7798e Don’t forget to pass credentials to MongoClient
It looks like provided credentials are ignored unless `server-address` is a collection.
2015-09-18 16:07:01 -04:00
Michael Klishin
5f53732719 Merge pull request #114 from stereoderevo/Keywordise_find_maps
Keywordise find maps
2015-08-25 19:01:15 +03:00
Andrei Biasprozvanny
ee0c3dbede Updated Readme to include before-script.sh when running the tests 2015-08-25 16:50:35 +01:00
Andrei Biasprozvanny
ebc01b3f54 Find-maps now supports keywordize option 2015-08-25 16:48:17 +01:00
Andrei Biasprozvanny
f1fff71577 Add IntelliJ files to .gitignore 2015-08-25 16:16:29 +01:00
Michael Klishin
e0c632f0d3 Test against Clojure 1.8.0-alpha4 2015-08-09 15:44:17 +03:00
Michael Klishin
f3cff7a52a Test against Clojure 1.8.0-alpha3 2015-08-01 02:51:15 +03:00
Michael Klishin
fc4a34b87f Update change log 2015-08-01 02:47:12 +03:00
Michael Klishin
76cd30d79c Java driver 3.0.03 2015-08-01 02:46:15 +03:00
Michael Klishin
6c1489e1ef Merge pull request #111 from ebaxt/master
Monger calls removed com.mongodb.MongoClientOptions$Builder methods
2015-07-23 00:53:58 +03:00
Erik Bakstad
d9b103c350 Removed call to removed MongoClientOptions.Builder methods 2015-07-22 21:38:41 +02:00
Erik Bakstad
43994ff19a Failing test that calls removed MongoClientOptions.Builder methods 2015-07-22 21:36:42 +02:00
Michael Klishin
95d0145a0b Test against Clojure 1.8.0-alpha2 2015-07-18 03:39:39 +03:00
Michael Klishin
7e111a332e 3.0.0 2015-07-16 23:38:08 +03:00
Michael Klishin
800d02839c 3.0.0 is out 2015-07-16 23:38:08 +03:00
Michael Klishin
19613b6e01 Bump Cheshire to 5.5.0 2015-07-16 23:38:08 +03:00
Michael Klishin
ec5590fd56 Back to dev version 2015-07-16 23:38:08 +03:00
Michael Klishin
c1597b1c9a Make this test order independent 2015-07-16 23:38:08 +03:00
Michael Klishin
478efa092d Bump clojure.data.json to 0.2.6 2015-07-16 23:38:08 +03:00
Michael Klishin
ac90956f92 Don't test against clojure.data.json 0.1.x 2015-07-16 23:38:08 +03:00
Michael Klishin
1da1dab013 Test against 1.6 via a profile, drop 1.5 support 2015-07-16 23:38:07 +03:00
Michael Klishin
80cadd54c4 Depend on Clojure 1.7 2015-07-16 23:37:34 +03:00
Michael Klishin
b4ea572293 Clojure master is now 1.8.0-master-SNAPSHOT 2015-07-12 01:16:03 +03:00
Michael Klishin
ae2ac84921 Test against Clojure 1.7.0 GA 2015-07-12 01:07:23 +03:00
Michael Klishin
0891a9ded7 Update change log 2015-06-27 23:24:26 +03:00
Michael Klishin
51baa3e154 Adhere to the existing code style 2015-06-27 23:16:11 +03:00
Michael Klishin
1717bdac9e rc2 is out 2015-06-27 23:10:46 +03:00