mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[libc] update benchmark distributions
All distributions (expect D) have been updated using 7 days worth of data. Distributions are smoother. This patch also moves data from header file to individual csv file. It helps the editor and allows easier export/plotting of the data. Differential Revision: https://reviews.llvm.org/D105766
This commit is contained in:
parent
d991b7212b
commit
8724a7ec11
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcmpGoogleA.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleA.csv
Normal file
@ -0,0 +1 @@
|
||||
0,0,0.000230805,0.00869365,0.0258501,0.0519311,0.246115,0.00584705,0.0276966,0.00500077,0.00853978,0.0200031,0.1471,0.0370057,0.0113094,0.131097,0.0282351,0.0480843,0.0125404,0.00646253,0.00707801,0.00592399,0.00100015,0.00284659,0.0363133,0.00469303,0.0318511,0.00323127,0.00107709,0.00292353,0.00130789,0.0656255,0.00015387,0.00030774,0.000461609,0.00261579,0.00530851,0.000230805,0.00100015,0,0,7.69349e-05,0,0,0,0,0,0.00030774,0,0,0,0,0,0,0,0.000230805,0,0,7.69349e-05,0,0.000384675,0,0,0,0.00015387,0,0.00100015,0.000615479,0.000923219,7.69349e-05,0,0.00030774,0,0,0,0,7.69349e-05,0,0,0,7.69349e-05
|
|
1
libc/benchmarks/distributions/MemcmpGoogleB.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleB.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcmpGoogleD.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleD.csv
Normal file
@ -0,0 +1 @@
|
||||
0,0,0,0.0045045,0.202703,0.0518018,0.0653153,0.256757,0.173423,0,0,0,0,0.0698198,0,0,0.00225225,0,0,0,0,0,0,0,0,0,0,0,0,0,0.130631,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00225225,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00675676,0,0,0,0,0,0,0,0.0337838
|
|
1
libc/benchmarks/distributions/MemcmpGoogleL.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleL.csv
Normal file
@ -0,0 +1 @@
|
||||
0.000251256,0.010804,0.0263819,0.00452261,0.0434673,0.00351759,0.00326633,0.00502513,0.00452261,0.00477387,0.00301508,0.0040201,0.0361809,0.00678392,0.0130653,0.0562814,0.0261307,0.412814,0.000753769,0.0150754,0.000753769,0,0.000753769,0.190955,0.00201005,0.106784,0.000502513,0.000251256,0,0,0.000251256,0,0.00502513,0,0.000251256,0,0,0,0.000502513,0,0.00552764,0,0.000251256,0.000251256,0,0,0.000251256,0,0,0,0.00276382,0,0,0,0,0,0,0,0.00226131
|
|
1
libc/benchmarks/distributions/MemcmpGoogleM.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleM.csv
Normal file
@ -0,0 +1 @@
|
||||
0,0.00941525,0.0426712,0.0476815,0.0891422,0.0520192,0.0918659,0.0583073,0.0590134,0.0685632,0.195131,0.0744813,0.0350382,0.014829,0.0123071,0.0290528,0.0136521,0.00632167,0.0303978,0.00437136,0.00830559,0.00346347,0.00867548,0.0109284,0.00403511,0.00504388,0.00147954,0.00114328,0.00245469,0.000605266,0.00127778,0.0105585,0.000470762,0.00117691,0.000100878,0.000100878,6.72518e-05,0.000201755,0.000235381,3.36259e-05,3.36259e-05,0.000100878,0,0.000336259,0.00205118,0.00151316,0.000168129,0,0,0,6.72518e-05,6.72518e-05,0,3.36259e-05,0,0,6.72518e-05,0,0,3.36259e-05,0,0,3.36259e-05,0,0,0,0,3.36259e-05,0,0,0,0,0,3.36259e-05,0.000672518,0.000100878,0,0,0,0,0,0,0,0,0,0,0,0,0,3.36259e-05
|
|
1
libc/benchmarks/distributions/MemcmpGoogleQ.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleQ.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcmpGoogleS.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleS.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcmpGoogleU.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleU.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcmpGoogleW.csv
Normal file
1
libc/benchmarks/distributions/MemcmpGoogleW.csv
Normal file
@ -0,0 +1 @@
|
||||
0,0.028169,0.112676,0.112676,0.169014,0.112676,0.084507,0.0352113,0.0774648,0.00704225,0.0211268,0.0140845,0.0352113,0.0140845,0.0140845,0,0.00704225,0.0140845,0.0211268,0.00704225,0,0.0140845,0.00704225,0.00704225,0.0140845,0.00704225,0.00704225,0,0,0,0.00704225,0.00704225,0,0,0,0,0,0,0,0,0.00704225,0,0.00704225,0,0,0.00704225,0,0,0,0,0.00704225,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00704225,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00704225
|
|
1
libc/benchmarks/distributions/MemcpyGoogleA.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleA.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleB.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleB.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleD.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleD.csv
Normal file
@ -0,0 +1 @@
|
||||
0.0234987,0.0137076,0.0104439,0.0117493,0.022846,0.017624,0.0672324,0.0372063,0.0391645,0.0372063,0.0248042,0.0456919,0.0267624,0.0359008,0.0156658,0.00522193,0.0306789,0.0124021,0.0104439,0.0137076,0.00261097,0.0150131,0.0365535,0.00391645,0.00652742,0.0443864,0.0163185,0.0430809,0.00587467,0.0169713,0.0110966,0.00130548,0.0293734,0,0.000652742,0.00195822,0.0248042,0.00391645,0.00979112,0.000652742,0.0365535,0.000652742,0.00130548,0.000652742,0.000652742,0.000652742,0.00913838,0,0.000652742,0,0,0.000652742,0,0,0.00130548,0,0.0163185,0.000652742,0.000652742,0.000652742,0,0,0.000652742,0,0.00913838,0.000652742,0,0,0.000652742,0,0,0,0.00130548,0,0.000652742,0,0,0.00130548,0,0,0,0,0,0,0,0.00261097,0,0.00913838,0.0300261,0,0,0,0,0,0,0,0,0,0,0,0,0.00195822,0,0,0.00130548,0.000652742,0.00456919,0,0,0,0,0,0,0.00130548,0.0130548,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00261097,0,0,0,0,0.000652742,0,0,0.00326371,0,0.00130548,0,0,0,0.000652742,0,0.00130548,0,0,0,0,0,0,0,0.00130548,0,0,0,0,0,0.000652742,0,0.00195822,0,0.000652742,0,0,0,0,0,0.00130548,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0.000652742,0,0,0,0,0,0,0,0.00195822,0,0,0,0.000652742,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0.00130548,0,0,0,0,0,0.000652742,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0.000652742,0,0.000652742,0,0,0,0,0,0,0.00326371,0,0,0.000652742,0.000652742,0,0,0,0,0.000652742,0,0,0,0.000652742,0,0.000652742,0.00195822,0.00195822,0,0,0,0,0,0,0,0.00130548,0,0,0,0,0,0.000652742,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0.00130548,0,0,0,0,0,0.000652742,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0.000652742,0,0,0,0,0,0,0.000652742,0.000652742,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0.000652742,0.000652742,0,0.00326371,0,0,0,0,0,0.00261097,0.000652742,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0.000652742,0,0,0,0,0,0,0,0.000652742,0,0.000652742,0,0.000652742,0,0.000652742,0,0.000652742,0,0.00130548,0,0.000652742,0,0.00130548,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0.00130548,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0.000652742,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0.000652742,0,0.00130548,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0.000652742,0,0,0,0,0,0,0,0,0,0,0,0,0,0.00130548
|
|
1
libc/benchmarks/distributions/MemcpyGoogleL.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleL.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleM.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleM.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleQ.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleQ.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleS.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleS.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleU.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleU.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemcpyGoogleW.csv
Normal file
1
libc/benchmarks/distributions/MemcpyGoogleW.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleA.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleA.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleB.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleB.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleD.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleD.csv
Normal file
@ -0,0 +1 @@
|
||||
0.0243902,0,0,0,0,0,0,0,0.0487805,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0243902,0,0,0,0,0,0,0.0609756,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0121951,0,0,0,0.0121951,0,0,0,0.0365854,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0.0609756,0,0,0,0,0,0,0,0.0243902,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0.0609756,0,0,0,0,0,0,0,0.0487805,0,0,0,0,0,0,0,0.0243902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0853659,0,0,0,0,0,0,0,0.0487805,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0.0853659,0,0,0,0,0,0,0,0.0731707,0,0,0,0,0,0,0,0.0365854,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0243902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0365854,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0121951,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0365854,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.0365854
|
|
1
libc/benchmarks/distributions/MemsetGoogleL.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleL.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleM.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleM.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleQ.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleQ.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleS.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleS.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleU.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleU.csv
Normal file
File diff suppressed because one or more lines are too long
1
libc/benchmarks/distributions/MemsetGoogleW.csv
Normal file
1
libc/benchmarks/distributions/MemsetGoogleW.csv
Normal file
@ -0,0 +1 @@
|
||||
0,0.00315457,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.675079,0,0.116719,0.00315457,0,0,0.00630915,0.00315457,0,0,0.00315457,0,0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
34
libc/benchmarks/distributions/README.md
Normal file
34
libc/benchmarks/distributions/README.md
Normal file
@ -0,0 +1,34 @@
|
||||
# Size distributions for memory functions under specific workloads
|
||||
|
||||
This folder contains a set of files that are included from `libc/benchmarks/MemorySizeDistributions.cpp`.
|
||||
|
||||
Offloading this data to individual files helps
|
||||
- C++ editors (large arrays are usually not well handled by editors),
|
||||
- and allows processing data by other tools to perform analysis or graph rendering.
|
||||
|
||||
## Format
|
||||
|
||||
Most filenames are of the form `{MemoryFunctionName}{WorkloadID}.csv`. They contain a single line of comma separated real values representing the probability that a particular size occurs. e.g.
|
||||
- `"0,1"` indicates that only the size `1` occurs,
|
||||
- `"0.5,0.5"` indicates sizes `0` and `1` occur with the same frequency.
|
||||
|
||||
These files usually contains sizes from `0` to `4096` inclusive. To save on space trailing zeros are discarded.
|
||||
|
||||
## Workloads
|
||||
|
||||
As identified in the [automemcpy](https://research.google/pubs/pub50338/) paper:
|
||||
- `GoogleA` <-> `service 4`
|
||||
- `GoogleB` <-> `database 1`
|
||||
- `GoogleD` <-> `storage`
|
||||
- `GoogleL` <-> `logging`
|
||||
- `GoogleM` <-> `service 2`
|
||||
- `GoogleQ` <-> `database 2`
|
||||
- `GoogleS` <-> `database 3`
|
||||
- `GoogleU` <-> `service 3`
|
||||
- `GoogleW` <-> `service 1`
|
||||
|
||||
`Uniform384To4096` is an additional synthetic workload that simply returns a uniform repartition of the sizes from `384` to `4096` inclusive.
|
||||
|
||||
## Note
|
||||
|
||||
Except for `GoogleD`, all distributions are gathered over one week worth of data.
|
1
libc/benchmarks/distributions/Uniform384To4096.csv
Normal file
1
libc/benchmarks/distributions/Uniform384To4096.csv
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user