Skip to content
No description or website provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Added class shows performance difference of Writable vs. Java

First: Java Serialiation showing 399 bytes for Objects Address and TestObject. TestObject contains Object Address giving you a minimal object graph. 
Second; Writable showing 64 bytes of storage for AddressWritable and TestObjectWritable which are writable versions of Address and TestObject
Third: serializing the AddressWritable and TestObjectWritable using std. Java streams shows 434 bytes vs. 64 bytes. 

These are for fake objects, real objects would be have a bigger difference. 

To run this class
ant clean; ant
bin/nutch org.apache.nutch.scoring.webgraph.TestWritable

To install: just copy the files,,, into the org.apache.nutch.scoring.webgraph directory in the nutch source code directory

which is under apache-nutch-1.2

Something went wrong with that request. Please try again.