agirbal
8d13203c40
SERVER-2976 : added M/R pure jsMode with collection output
2011-05-10 15:30:01 -07:00
Eliot Horowitz
ccbfb35a9d
cruft
2011-05-08 16:10:57 -04:00
Eliot Horowitz
6038878678
support update in benchRun
2011-05-07 14:46:37 -04:00
agirbal
1f6df26f34
fix compile for spidermonkey
2011-05-02 16:08:41 -07:00
agirbal
04d364a44d
SERVER-2579 : optimize append() method to use same BSONObj builder throughout process
2011-05-02 16:08:41 -07:00
agirbal
1725803c20
SERVER-2579 : all v8 object creation is now lazy.
...
Correct allocation and freeing of underlying C++ object.
Correct ordering of object properties even when new ones are added within JS.
Supports deletion of properties with lazzy wrapper.
Also removed scope->setThis in favor of passing it in the invoke() command.
2011-05-02 16:08:41 -07:00
agirbal
52c03d3954
switch setObject to lzV8, all tests still pass
2011-05-02 16:08:40 -07:00
agirbal
c75b2cbae1
SERVER-2579 : added framework for lazy v8
2011-04-25 11:02:52 -07:00
agirbal
6a9fad1b2c
SERVER-2983 : added string caching for all db functions
2011-04-24 13:17:47 -07:00
agirbal
d2219e9bfc
SERVER-2983 : cache often used strings in v8 engine
2011-04-24 13:06:59 -07:00
agirbal
b6913e3417
SERVER-2983 : add v8string caching for v8 engine
2011-04-24 12:34:21 -07:00
agirbal
1e6220e3af
SERVER-2993 : refactor v8 engine to carry scope in most methods / callbacks
2011-04-24 11:56:52 -07:00
Eliot Horowitz
b291d96b0a
move sleep into core utils instead of shell
2011-04-21 14:57:44 -04:00
Aaron
7d1b346700
make NumberLong floatApprox casts more incremental - some compilers may have been optimizing them out
2011-04-19 15:16:08 -07:00
Eliot Horowitz
e46920d6b3
starting to work on sharding helper (sh)
2011-04-14 20:00:18 -04:00
Eliot Horowitz
7efbe7b799
move list of files outside of .h
2011-04-14 20:00:18 -04:00
Eliot Horowitz
fbbd3785a8
better error handling in loading system.js.
2011-04-11 14:22:12 -04:00
Mathias Stearn
244b162111
Use intrusive_ptr rather than shared_ptr for BSONObj
...
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster
Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
gregs
301376410c
conversion of unneeded caused_by macros to methods
2011-04-01 09:45:10 -04:00
greg
ac8db92b1a
Fix for spidermonkey scripting, callback causes segfault.
2011-03-04 11:30:18 -05:00
Aaron
e1636f4e77
comment
2011-02-15 17:27:19 -08:00
Eliot Horowitz
9af4bc9ed9
better error message
2011-02-07 16:04:25 -05:00
Eliot Horowitz
cd834438e5
make sm conversion from BSON array to js array faster
2011-02-05 22:44:06 -05:00
Eliot Horowitz
7c0c4d13e5
find now takes 7 args
2011-01-25 10:33:53 -05:00
Eliot Horowitz
a7eb7f2c47
shell can pass query options
2011-01-25 02:02:37 -05:00
Eliot Horowitz
6dd4315ccb
sharding check for v8
2011-01-24 01:43:25 -05:00
Eliot Horowitz
ece3377d99
fix v8 readOnly mode
2011-01-24 00:19:53 -05:00
Eliot Horowitz
3419f550a0
better remove error reporting for js
2011-01-21 15:48:47 -05:00
Eliot Horowitz
f964db5b9e
move object creation for mongo_insert into try/catch
2011-01-19 23:18:15 -05:00
Aaron
8f6aa41ebd
v8 fix gc callback
2011-01-10 22:52:21 -08:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
4fae261c87
new Timestamp() for v8 SERVER-2315
2011-01-03 00:20:46 -05:00
Eliot Horowitz
93b06214ed
new Timestamp() for shell SERVER-2315
2010-12-30 21:46:49 -05:00
Eliot Horowitz
57be437dd8
better js error message on out of memory SERVER-2280
2010-12-27 11:58:03 -05:00
agirbal
378ba71fd2
[ SERVER-2284 ]: operations using system.js collection (group, mapred, where) always fail the 1st time on slave
2010-12-23 17:39:22 -08:00
Eliot Horowitz
c022b54c08
init( BSONObj* ) can be const *
2010-12-15 09:50:35 -05:00
Mathias Stearn
623ad9da1a
fix off-by-one in spidermonkey line numbering SERVER-2215
2010-12-13 19:02:27 -05:00
Eliot Horowitz
4e51d779c6
fix comment parsing in v8
2010-11-29 01:50:57 -05:00
Eliot Horowitz
2016fe2e3d
better error message on bad encoding
2010-11-28 03:35:44 -05:00
dwight
f6a923ca3f
show repl state in shell prompt. needs more work
2010-11-23 04:16:04 -05:00
Eliot Horowitz
99647ebeb0
fix comments in embedded code SERVER-2121
2010-11-22 00:53:00 -05:00
Eliot Horowitz
1bdc2ebc3c
working on SERVER-2121
2010-11-20 16:37:33 -05:00
Tony Hannan
c77a4e5930
SERVER-1902 : Make Assertion failure JS_EncodeCharacters more verbose in log
2010-10-13 10:14:37 -04:00
Aaron
e593c1fe4c
SERVER-1841 don't allow client js to catch timeout/interrupt
2010-10-06 00:33:09 -07:00
Aaron
92a5d51100
SERVER-1840 make eval function construction logic in v8 more consistent with sm
2010-10-04 14:44:42 -07:00
Eliot Horowitz
b0185b2c68
newline
2010-09-23 20:28:25 -04:00
Aaron
d2249cdf68
SERVER-387 enable interrupts for v8
2010-09-23 15:42:24 -07:00
dwight
24746abcc2
better name
2010-09-16 09:43:26 -04:00
Aaron
8c82a9c5c6
SERVER-387 support killop with db.eval
2010-09-14 17:01:01 -07:00
Eliot Horowitz
3db3cb13dc
simple js benchmakring harness
2010-09-14 18:53:21 -04:00