Skip to content

A benchmark exercise in performance measurement between two concurrent data structures, for a campus course scheduling system.

Notifications You must be signed in to change notification settings

Kysss/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

benchmark

This ia a stripped-down version of a campus course scheduling system, which contains a set of threads that rely on a shared collection of data, sometimes read-only and sometimes writing data. A benchmark exercise in performance measurement between two concurrent data structures was performed on the system. One utilizes ConcurrentHashMap and Reentrant Lock (both are JDK Components), while the other utilizes regular HashMap (JDK Component) and a WriterPreferenceReadWriteLock (cutomized).
More detailed please see: http://gee.cs.oswego.edu/dl/csc375/a2.html

Execution

To run MyBenchmark.java and see outputs for each data structure, refer to http://openjdk.java.net/projects/code-tools/jmh/ for commands.

Outputs

Manually Collected Outputs in one file: http://cs.oswego.edu/~yxia/coursework/csc375/data.txt
Graph Plotted using the data: http://cs.oswego.edu/~yxia/coursework/csc375/

Useful References/Tutorials

About

A benchmark exercise in performance measurement between two concurrent data structures, for a campus course scheduling system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages