23.08.2015 Views

Here - Agents Lab - University of Nottingham

Here - Agents Lab - University of Nottingham

Here - Agents Lab - University of Nottingham

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Java serialization and Jadex Binary still show an advantage in compactness withJadex Binary maintaining a slim margin over Java serialization.60005000509840003609Time (ms)300020001831200610008732010Jadex XMLJadex XML(compressed)Jadex BinaryJadex Binary(compressed)JavaSerializationJavaSerialization(compressed)Fig. 12. An additional compression pass increases total encoding timeSince the compression pass substantially reduces the size <strong>of</strong> messages, especiallyfor verbose formats, it may suggest that starting out with a compactformat gives only a marginal advantage. However, data compression is not free interms <strong>of</strong> computation time. While compression helps compactness, this issue hasto be weighed against the performance message feature. Despite the DEFLATEalgorithm being a comparably fast compression algorithm, Figure 12 shows thatit adds a substantial amount to the total encoding time <strong>of</strong> the content. In fact,the additional time required seems to grow with the number <strong>of</strong> bytes in theuncompressed content, which is reasonable considering the algorithm must evaluateevery byte <strong>of</strong> the uncompressed data at least once to produce a reversibleoutput.As a result, data compression does not appear to be generally beneficial whenboth performance and compactness are important; however, it is another usefultool to adjust the balance between the two language features. In the next sectionwe will discuss further improvements, future work and provide a conclusion onthe performance <strong>of</strong> Jadex Binary.6 Future Work and ConclusionThe evaluation <strong>of</strong> Jadex Binary in Section 5 appears to provide sufficient evidencethat Jadex Binary already has significant advantages in both compactness andperformance. However, the performance results <strong>of</strong> the Java serialization showsthat further performance improvements may be possible. One way <strong>of</strong> further114

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!