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
Loaded 183978 IPs into memory | |
std::map big endian | |
Total lookup time is 31 seconds | |
Million of lookup ops per second: 5.85925 | |
Total scan time is 3 seconds | |
Million of full scan ops per second: 40.3343 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
std::map little endian |
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
Loaded 183978 IPs into memory | |
std::map big endian | |
Total lookup time is 31 seconds | |
Million of lookup ops per second: 5.81285 | |
Total scan time is 4 seconds | |
Million of full scan ops per second: 38.8132 | |
Accumulator value to guarantee no optimisation tricks from compiler: 183978000000 | |
std::map little endian |
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
1.78: | |
Loaded 183978 IPs into memory | |
std::map big endian | |
Total time is 60 seconds total ops: 183978000 | |
Million of ops per second: 3.09965 | |
std::map little endian | |
Total time is 58 seconds total ops: 183978000 |
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
--- 78 2022-06-29 19:25:43.444689862 +0100 | |
+++ 80 2022-06-29 19:25:46.944734452 +0100 | |
@@ -1,49 +1,50 @@ | |
Element size: 248 bytes | |
Total structure size: 2365 Mbytes | |
-std::map: 5.1 mega ops per second | |
-std::map big endian keys full scan: 17.3 mega ops per second | |
-std::map big endian keys: 1.4 mega ops per second |
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
CPU: AMD Ryzen 5 3600 6-Core Processor | |
Boost 1.78 | |
Element size: 248 bytes | |
Total structure size: 2365 Mbytes | |
std::map: 5.1 mega ops per second | |
std::map big endian keys full scan: 17.3 mega ops per second |
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
Element size: 248 bytes | |
Total structure size: 2365 Mbytes | |
std::map: 6.4 mega ops per second | |
std::map big endian keys full scan: 32.2 mega ops per second | |
std::map big endian keys: 2.4 mega ops per second | |
std::map big endian keys full scan: 10.6 mega ops per second |
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
CPU: AMD Ryzen 5 3600 6-Core Processor | |
Boost 1.78 | |
Element size: 248 bytes | |
Total structure size: 2365 Mbytes | |
std::map: 5.1 mega ops per second | |
std::map big endian keys full scan: 17.3 mega ops per second |
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
Element size: 248 bytes | |
Total structure size: 2365 Mbytes | |
std::map: 5.5 mega ops per second | |
std::map big endian keys full scan: 17.2 mega ops per second | |
std::map big endian keys: 1.3 mega ops per second | |
std::map big endian keys full scan: 6.3 mega ops per second |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use JSON; | |
use Data::Dumper; | |
my $community = '65000:777'; |
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
#include <functional> | |
#include <iomanip> | |
#include <iostream> | |
#include <locale.h> | |
#include <map> | |
#include <stdint.h> | |
#include <sys/time.h> | |
#include <unistd.h> | |
#include "../fastnetmon_types.h" |