browser-couch

log

age author description
3 years Atul Varma Added really basic skeletal documentation for browser-couch.js.
3 years Atul Varma Added more links to source code docs.
3 years Atul Varma Added code-illuminated documentation.
3 years Atul Varma Renamed index.html to tests.html.
3 years Atul Varma Directory restructuring.
3 years Atul Varma Rows of a map view are now sorted secondarily by document ID, which makes their row order well-defined.
3 years Atul Varma Added a unit test for the web worker map reducer, and added the ability to skip tests into the test framework.
3 years Atul Varma Got rid of a TODO, which also incidentally improved the performance of the reduce phase.
3 years Atul Varma Removed an annoying js2-mode warning.
3 years Atul Varma The WebWorkerMapReducer now doles out jobs to individual threads; still need to implement the reduce operation though.
3 years Atul Varma Initial proof-of-concept of a WebWorkerMapReducer. Still needs lots of work.
3 years Atul Varma Typo fix
3 years Atul Varma Factored-out map-reduce implementation into a new interface, which currently has one implementation, SingleThreadedMapReducer.
3 years Atul Varma Added findRow() method to the View class.
3 years Atul Varma Added a simple findRow() method to the MapView class that finds the first row of a given key using binary search.
3 years Atul Varma Made new View and MapView classes that encapsulate view results, and in the near future will allow searching through views.
3 years Atul Varma Renamed a global variable called 'status' to 'statusArea' so the big test status area would show on Safari. VERY strange bug.
3 years Atul Varma Fixed a bug in ModuleLoader whereby modules could be loaded multiple times.
3 years Atul Varma Test suite now passes on Safari.
3 years Atul Varma Tests now use fake storage.
3 years Atul Varma Test suite works on systems w/o firebug now.
3 years Atul Varma Made progress display on big test more time-based.
3 years Atul Varma Separated mapReduce() into separate map() and reduce() functions.
3 years Atul Varma Performed sorting at an earlier stage when less keys are present, which should improve performance.
3 years Atul Varma Added a TODO.
3 years Atul Varma We now have 3 unit tests.
3 years Atul Varma Refactored test suite.
3 years Atul Varma Slight refactoring that makes the map phase more efficient, but slows down the reduce phase.
3 years Atul Varma Optimized emit() a bit, as it's taking up 60% of execution time on the big test.
3 years Atul Varma Status of building corpus is now displayed; corpus now consists of 1000 documents.
3 years Atul Varma Added a FakeStorage backend and made the big test use it.
3 years Atul Varma Decoupled storage implementation more by creating a LocalStorage class.
3 years Atul Varma Added calls to ModuleLoader.require() where JSON is needed.
3 years Atul Varma Added a more robust module loader.
3 years Atul Varma Results now display on big test, and more status/config info.
3 years Atul Varma Added a USE_EVAL_FOR_JSON_PARSING flag to the BrowserCouch object, which currently defaults to true.
3 years Atul Varma Added 'big.html', which tests browser-couch's performance on larger data sets.
3 years Atul Varma Added a getLength() method to DB.
3 years Atul Varma Fixed a bug.
3 years Atul Varma reduce phase now supports progress callbacks/asynchronous behavior.
3 years Atul Varma Made map-reduce obey couchDB's return value, simplified implementation a bit.
3 years Atul Varma Refactoring: made implementation of dictionary a lot simpler.
3 years Atul Varma The dicitonary no longer needs to be ordered.
3 years Atul Varma Refactored reduce implementation so it'll be parallelizable/chunkable like map currently is.
3 years Atul Varma Realized I had the wrong idea of what reduce was doing and reimpemented it properly.
3 years Atul Varma Added more unit tests and fixed bugs unveiled by them.
3 years Atul Varma Added unit tests for Dictionary and fixed a bug or two in the Dictionary's implementation.
3 years Atul Varma Refactoring: made a new ordered dictionary class and made the DB use that.
3 years Atul Varma Added a TODO.
3 years Atul Varma map-reduce now supports 'chunking', i.e. processing some number of documents and then giving the system a chance to report progress to the user, cancel the calculation, giving the UI a chance to breathe, etc, before resuming the calculation.
3 years Atul Varma Refactored map-reduce into its own self-contained function that isn't part of a closure
3 years Atul Varma Fixed a js2-mode warning.
3 years Atul Varma Changed CSS.
3 years Atul Varma Changed display of test output to be more colorful and not require firebug.
3 years Atul Varma Added basic test framework.
3 years Atul Varma Added license block.
3 years Atul Varma Oops, forgot to add these two files in my last commit.
3 years Atul Varma We now use DOM storage to persistently store the DB, and dynamically load a JSON library when necessary to serialize/deserialize data.
3 years Atul Varma Documents is now an array, and an index mapping document IDs to their position in the array is maintained.
3 years Atul Varma Origination.