1*97d2f9c0SMichael Lotz /* 2*97d2f9c0SMichael Lotz * Copyright 2005, Haiku. 3*97d2f9c0SMichael Lotz * Distributed under the terms of the MIT License. 4*97d2f9c0SMichael Lotz * 5*97d2f9c0SMichael Lotz * Authors: 6*97d2f9c0SMichael Lotz * Michael Lotz <mmlr@mlotz.ch> 7*97d2f9c0SMichael Lotz * Olivier Milla <methedras at online dot fr> 8*97d2f9c0SMichael Lotz */ 9f75b92e7SJérôme Duval 10*97d2f9c0SMichael Lotz #ifndef _MESSAGE_SPEED_TEST_H_ 11*97d2f9c0SMichael Lotz #define _MESSAGE_SPEED_TEST_H_ 12f75b92e7SJérôme Duval 13f75b92e7SJérôme Duval #include "../common.h" 14f75b92e7SJérôme Duval 15*97d2f9c0SMichael Lotz class TMessageSpeedTest : public TestCase { 16f75b92e7SJérôme Duval 17f75b92e7SJérôme Duval public: TMessageSpeedTest()18*97d2f9c0SMichael Lotz TMessageSpeedTest() {}; TMessageSpeedTest(std::string name)19*97d2f9c0SMichael Lotz TMessageSpeedTest(std::string name) 20*97d2f9c0SMichael Lotz : TestCase(name) 21*97d2f9c0SMichael Lotz {}; 22f75b92e7SJérôme Duval 23f75b92e7SJérôme Duval void MessageSpeedTestCreate5Int32(); 24*97d2f9c0SMichael Lotz void MessageSpeedTestCreate50Int32(); 25*97d2f9c0SMichael Lotz void MessageSpeedTestCreate500Int32(); 26*97d2f9c0SMichael Lotz void MessageSpeedTestCreate5000Int32(); 27*97d2f9c0SMichael Lotz 28*97d2f9c0SMichael Lotz void MessageSpeedTestCreate5String(); 29*97d2f9c0SMichael Lotz void MessageSpeedTestCreate50String(); 30*97d2f9c0SMichael Lotz void MessageSpeedTestCreate500String(); 31*97d2f9c0SMichael Lotz void MessageSpeedTestCreate5000String(); 32f75b92e7SJérôme Duval 33f75b92e7SJérôme Duval void MessageSpeedTestLookup5Int32(); 34f75b92e7SJérôme Duval void MessageSpeedTestLookup50Int32(); 35f75b92e7SJérôme Duval void MessageSpeedTestLookup500Int32(); 36024ef0b8SMichael Lotz void MessageSpeedTestLookup5000Int32(); 37f75b92e7SJérôme Duval 38*97d2f9c0SMichael Lotz void MessageSpeedTestRead5Int32(); 39*97d2f9c0SMichael Lotz void MessageSpeedTestRead50Int32(); 40f75b92e7SJérôme Duval void MessageSpeedTestRead500Int32(); 41*97d2f9c0SMichael Lotz void MessageSpeedTestRead5000Int32(); 42*97d2f9c0SMichael Lotz 43*97d2f9c0SMichael Lotz void MessageSpeedTestRead5String(); 44*97d2f9c0SMichael Lotz void MessageSpeedTestRead50String(); 45*97d2f9c0SMichael Lotz void MessageSpeedTestRead500String(); 46*97d2f9c0SMichael Lotz void MessageSpeedTestRead5000String(); 47f75b92e7SJérôme Duval 48f75b92e7SJérôme Duval void MessageSpeedTestFlatten5Int32(); 49f75b92e7SJérôme Duval void MessageSpeedTestFlatten50Int32(); 50f75b92e7SJérôme Duval void MessageSpeedTestFlatten500Int32(); 51024ef0b8SMichael Lotz void MessageSpeedTestFlatten5000Int32(); 52024ef0b8SMichael Lotz 53*97d2f9c0SMichael Lotz void MessageSpeedTestFlatten5String(); 54*97d2f9c0SMichael Lotz void MessageSpeedTestFlatten50String(); 55*97d2f9c0SMichael Lotz void MessageSpeedTestFlatten500String(); 56*97d2f9c0SMichael Lotz void MessageSpeedTestFlatten5000String(); 57*97d2f9c0SMichael Lotz 58*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual5Int32(); 59*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual50Int32(); 60*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual500Int32(); 61*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual5000Int32(); 62*97d2f9c0SMichael Lotz 63*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual5String(); 64*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual50String(); 65*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual500String(); 66*97d2f9c0SMichael Lotz void MessageSpeedTestFlattenIndividual5000String(); 67f75b92e7SJérôme Duval 68f75b92e7SJérôme Duval void MessageSpeedTestUnflatten5Int32(); 69f75b92e7SJérôme Duval void MessageSpeedTestUnflatten50Int32(); 70f75b92e7SJérôme Duval void MessageSpeedTestUnflatten500Int32(); 71024ef0b8SMichael Lotz void MessageSpeedTestUnflatten5000Int32(); 72024ef0b8SMichael Lotz 73*97d2f9c0SMichael Lotz void MessageSpeedTestUnflatten5String(); 74*97d2f9c0SMichael Lotz void MessageSpeedTestUnflatten50String(); 75*97d2f9c0SMichael Lotz void MessageSpeedTestUnflatten500String(); 76*97d2f9c0SMichael Lotz void MessageSpeedTestUnflatten5000String(); 77*97d2f9c0SMichael Lotz 78*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual5Int32(); 79*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual50Int32(); 80*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual500Int32(); 81*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual5000Int32(); 82*97d2f9c0SMichael Lotz 83*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual5String(); 84*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual50String(); 85*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual500String(); 86*97d2f9c0SMichael Lotz void MessageSpeedTestUnflattenIndividual5000String(); 87f75b92e7SJérôme Duval 88f75b92e7SJérôme Duval static TestSuite *Suite(); 89f75b92e7SJérôme Duval }; 90f75b92e7SJérôme Duval 91*97d2f9c0SMichael Lotz #endif // _MESSAGE_SPEED_TEST_H_ 92