Skip to content

Instantly share code, notes, and snippets.

@Licenser
Created May 25, 2014 18:23
Show Gist options
  • Save Licenser/6dd906319f20088c273c to your computer and use it in GitHub Desktop.
Save Licenser/6dd906319f20088c273c to your computer and use it in GitHub Desktop.
Time distribution on the data fun depending on changes

Unordered matching

          ensq_channel:data/3
           value  ------------- Distribution ------------- count
               4 |                                         0
               8 |                                         1
              16 |                                         253
              32 |@@@@                                     25167
              64 |@@@@@                                    26584
             128 |@@@@@@@                                  41011
             256 |@@@@@@@@@@                               59159
             512 |@@@@@@@@@                                53690
            1024 |@@@                                      18957
            2048 |@                                        3506
            4096 |                                         837
            8192 |                                         601
           16384 |                                         347
           32768 |                                         212
           65536 |                                         93
          131072 |                                         8
          262144 |                                         0
          524288 |                                         0
         1048576 |                                         2
         2097152 |                                         0

With ordered matching

          ensq_channel:data/3
           value  ------------- Distribution ------------- count
               8 |                                         0
              16 |                                         15
              32 |@@@@                                     7790
              64 |@@@@@                                    8356
             128 |@@@@@@@                                  12324
             256 |@@@@@@@@@@@                              19044
             512 |@@@@@@@@@                                17082
            1024 |@@@                                      5511
            2048 |@                                        1012
            4096 |                                         384
            8192 |                                         257
           16384 |                                         138
           32768 |                                         51
           65536 |                                         23
          131072 |                                         0

With Binary as accumulator for tcp messages

          ensq_channel:data/4
           value  ------------- Distribution ------------- count
               8 |                                         0
              16 |                                         964
              32 |@@@                                      44875
              64 |@@@@@                                    77558
             128 |@@@@@@@@                                 133976
             256 |@@@@@@@@@@@@@                            211501
             512 |@@@@@@@@@                                147236
            1024 |@@@                                      49692
            2048 |                                         6045
            4096 |                                         953
            8192 |                                         617
           16384 |                                         410
           32768 |                                         414
           65536 |                                         224
          131072 |                                         103
          262144 |                                         78
          524288 |                                         12
         1048576 |                                         15
         2097152 |                                         0

With List as accumulator for tcp messages

           ensq_channel:data/4
           value  ------------- Distribution ------------- count
               8 |                                         0
              16 |                                         292
              32 |@@@                                      15821
              64 |@@@@@                                    27465
             128 |@@@@@@@@                                 47360
             256 |@@@@@@@@@@@@@                            74874
             512 |@@@@@@@@                                 45690
            1024 |@@                                       12818
            2048 |                                         1378
            4096 |                                         410
            8192 |                                         278
           16384 |                                         245
           32768 |                                         158
           65536 |                                         101
          131072 |                                         55
          262144 |                                         0
          524288 |                                         16
         1048576 |                                         0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment