This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.util.List; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
public class GCLogger { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.quickfix; | |
import net.openhft.chronicle.core.Jvm; | |
import net.openhft.chronicle.core.jlbh.JLBHOptions; | |
import net.openhft.chronicle.core.jlbh.JLBHTask; | |
import net.openhft.chronicle.core.jlbh.JLBH; | |
import quickfix.*; | |
import quickfix.field.*; | |
import quickfix.fix42.ExecutionReport; | |
import quickfix.fix42.NewOrderSingle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.tcp; | |
import net.openhft.affinity.Affinity; | |
import net.openhft.chronicle.core.Jvm; | |
import net.openhft.chronicle.core.jlbh.JLBHOptions; | |
import net.openhft.chronicle.core.jlbh.JLBHTask; | |
import net.openhft.chronicle.core.jlbh.JLBH; | |
import net.openhft.chronicle.core.util.NanoSampler; | |
import java.io.EOFException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.spike; | |
import net.openhft.chronicle.core.Jvm; | |
import net.openhft.chronicle.core.jlbh.JLBH; | |
import net.openhft.chronicle.core.jlbh.JLBHOptions; | |
import net.openhft.chronicle.core.jlbh.JLBHTask; | |
/** | |
* A simple JLBH example to show the effects od accounting for co-ordinated omission. | |
* Toggle the accountForCoordinatedOmission to see results. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.serialisation.date; | |
import net.openhft.affinity.Affinity; | |
import net.openhft.chronicle.core.Jvm; | |
import net.openhft.chronicle.core.jlbh.JLBHOptions; | |
import net.openhft.chronicle.core.jlbh.JLBHTask; | |
import net.openhft.chronicle.core.jlbh.JLBH; | |
import net.openhft.chronicle.core.util.NanoSampler; | |
import java.io.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.serialisation.date; | |
import net.openhft.chronicle.core.jlbh.JLBHOptions; | |
import net.openhft.chronicle.core.jlbh.JLBHTask; | |
import net.openhft.chronicle.core.jlbh.JLBH; | |
import java.io.*; | |
import java.lang.reflect.InvocationTargetException; | |
import java.util.Date; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.serialisation.date; | |
import net.openhft.affinity.Affinity; | |
import net.openhft.chronicle.core.Jvm; | |
import net.openhft.chronicle.core.OS; | |
import org.openjdk.jmh.annotations.*; | |
import org.openjdk.jmh.runner.Runner; | |
import org.openjdk.jmh.runner.RunnerException; | |
import org.openjdk.jmh.runner.options.Options; | |
import org.openjdk.jmh.runner.options.OptionsBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.latency.prodcon; | |
import net.openhft.chronicle.core.jlbh.JLBH; | |
import net.openhft.chronicle.core.jlbh.JLBHOptions; | |
import net.openhft.chronicle.core.jlbh.JLBHTask; | |
import net.openhft.chronicle.core.util.NanoSampler; | |
import java.util.concurrent.*; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.Mode; | |
import org.openjdk.jmh.annotations.Scope; | |
import org.openjdk.jmh.annotations.State; | |
import org.openjdk.jmh.infra.Blackhole; | |
import org.openjdk.jmh.runner.Runner; | |
import org.openjdk.jmh.runner.RunnerException; | |
import org.openjdk.jmh.runner.options.Options; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.test; | |
import net.openhft.chronicle.map.ChronicleMap; | |
import net.openhft.chronicle.map.ChronicleMapBuilder; | |
import net.openhft.lang.model.DataValueClasses; | |
import net.openhft.lang.values.LongValue; | |
import java.io.File; | |
import java.io.IOException; |
NewerOlder