Samples :: FIX Benchmark

Parsing Benchmark Sample

Description

This sample measures speed of message parsing.

Directory Contents

Item Description
conf/sample/MessageBenchmark.properties configuration file
conf/sample/*.txt test data files

Usage

  • Run the sample:
    • win: MessageBenchmark.bat
    • linux: MessageBenchmark.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

Throughput Acceptor and Initiator Benchmark Sample

Description

This sample is intended for measuring overall message transfer speed.

Directory Contents

Item Description
conf/sample/Throughput*.properties configuration files
conf/sample/*.txt test message data files

Usage

  • Run the throughput benchmark as 2 applications (acceptor and initiator) with no session storage:
    • win: t1-ThroughputAcceptorBenchmark.bat, t2-ThroughputInitiatorBenchmark.bat
    • linux: t1-ThroughputAcceptorBenchmark.sh, t2-ThroughputInitiatorBenchmark.sh
  • Run the throughput benchmark as a single application (acceptor and initiator) with no session storage:
    • win: ThroughputLoopbackBenchmark.bat
    • linux: ThroughputLoopbackBenchmark.sh
  • Run the throughput benchmark as 2 applications (acceptor and initiator) with file session storage:
    • win: t1-ThroughputAcceptorFileBenchmark.bat, t2-ThroughputInitiatorFileBenchmark.bat
    • linux: t1-ThroughputAcceptorFileBenchmark.sh, t2-ThroughputInitiatorFileBenchmark.sh
  • Run the throughput benchmark as a single application (acceptor and initiator) with no session storage:
    • win: ThroughputLoopbackFileBenchmark.bat
    • linux: ThroughputLoopbackFileBenchmark.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh

Latency Acceptor and Initiator Benchmark Sample

Description

This sample is intended for measuring message transfer latency.

Directory Contents

Item Description
conf/sample/Latency*.properties configuration files
conf/sample/*.txt test message data files

Usage

  • Run the latency benchmark as 2 applications (acceptor and initiator) with no session storage:
    • win: LatencyAcceptorBenchmark.bat, LatencyInitiatorBenchmark.bat
    • linux: LatencyAcceptorBenchmark.sh, LatencyInitiatorBenchmark.sh
  • Run the latency benchmark as a single application (acceptor and initiator) with no session storage:
    • win: LatencyLoopbackBenchmark.bat
    • linux: LatencyLoopbackBenchmark.sh
  • Run the latency benchmark as 2 applications (acceptor and initiator) with file session storage:
    • win: LatencyAcceptorBenchmark.bat, LatencyInitiatorBenchmark.bat
    • linux: LatencyAcceptorBenchmark.sh, LatencyInitiatorBenchmark.sh
  • Run the latency benchmark as a single application (acceptor and initiator) with file session storage:
    • win: LatencyLoopbackFileBenchmark.bat
    • linux: LatencyLoopbackFileBenchmark.sh
  • Clean everything:
    • win: clean.bat
    • linux: clean.sh