Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] improve comment bot #6820

Merged
merged 1 commit into from
Nov 28, 2019
Merged

[CHORE] improve comment bot #6820

merged 1 commit into from
Nov 28, 2019

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Nov 27, 2019

This PR

  • changes the comment-bot to update existing comments instead of deleting old comments
  • fixes the bug that was preventing deletion of old comments
  • fixes the performance analysis script to also post a comment correctly (it's been failing to do so although trying for some time)

You can see the effects of the updates (edit history on the pr comments) within this PR. Overall it seems like a good change, although I dislike how the comment time stamp remains the time of the very original comment instead of showing the time edited. This makes it harder to judge quickly if it is the most recent analysis, although checking the commit sha that is printed will verify.

@runspired runspired added CI 🏷️ chore This PR primarily refactors code or updates dependencies labels Nov 27, 2019
@runspired runspired added this to In Development in Continuous Integration via automation Nov 27, 2019
@github-actions
Copy link

github-actions bot commented Nov 27, 2019

Asset Size Report for fe7aeb2

EmberData has not changed in size

If any packages had changed sizes they would be listed here.

Changeset



Full Asset Analysis

Asset Size Report
=================


Library: EmberData
┌────────────┬─────────────┐
│  (index)   │   Values    │
├────────────┼─────────────┤
│   bytes    │ '160.49 KB' │
│ compressed │ '34.16 KB'  │
│  packages  │     10      │
│  modules   │     48      │
└────────────┴─────────────┘

Package: @ember-data/store
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '71.04 KB' │
│  compressed  │ '15.12 KB' │
│ % Of Library │   '44.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/store/-private                    | 70.13 KB  | 14.93 KB   | 98.7          | 43.7
	@ember-data/store/index                       | 936.00 B  | 199.23 B   | 1.3           | 0.6

Package: @ember-data/record-data
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '22.97 KB' │
│  compressed  │ '4.89 KB'  │
│ % Of Library │   '14.3'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/record-data/-private              | 22.97 KB  | 4.89 KB    | 100.0         | 14.3

Package: @ember-data/serializer
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '19.30 KB' │
│  compressed  │ '4.11 KB'  │
│ % Of Library │   '12.0'   │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/serializer/json                   | 7.10 KB   | 1.51 KB    | 36.8          | 4.4
	@ember-data/serializer/-private               | 5.36 KB   | 1.14 KB    | 27.8          | 3.3
	@ember-data/serializer/json-api               | 3.71 KB   | 807.99 B   | 19.2          | 2.3
	@ember-data/serializer/rest                   | 2.68 KB   | 583.85 B   | 13.9          | 1.7
	@ember-data/serializer/index                  | 243.00 B  | 51.72 B    | 1.2           | 0.1
	@ember-data/serializer/transform              | 215.00 B  | 45.76 B    | 1.1           | 0.1

Package: @ember-data/adapter
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '14.57 KB' │
│  compressed  │ '3.10 KB'  │
│ % Of Library │   '9.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/adapter/rest                      | 7.65 KB   | 1.63 KB    | 52.5          | 4.8
	@ember-data/adapter/-private                  | 3.50 KB   | 762.86 B   | 24.0          | 2.2
	@ember-data/adapter/error                     | 1.91 KB   | 416.98 B   | 13.1          | 1.2
	@ember-data/adapter/json-api                  | 830.00 B  | 176.66 B   | 5.6           | 0.5
	@ember-data/adapter/index                     | 719.00 B  | 153.04 B   | 4.8           | 0.4

Package: @ember-data/model
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '11.08 KB' │
│  compressed  │ '2.36 KB'  │
│ % Of Library │   '6.9'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/model/-private                    | 10.60 KB  | 2.26 KB    | 95.7          | 6.6
	@ember-data/model/index                       | 486.00 B  | 103.44 B   | 4.3           | 0.3

Package: ember-data
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '9.72 KB' │
│  compressed  │ '2.07 KB' │
│ % Of Library │   '6.1'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-data/index                              | 2.42 KB   | 527.66 B   | 24.9          | 1.5
	ember-data/-private                           | 1.98 KB   | 431.87 B   | 20.4          | 1.2
	ember-data/adapters/errors                    | 1.19 KB   | 259.04 B   | 12.2          | 0.7
	ember-data/setup-container                    | 503.00 B  | 107.06 B   | 5.1           | 0.3
	ember-data/store                              | 406.00 B  | 86.41 B    | 4.1           | 0.2
	ember-data/relationships                      | 318.00 B  | 67.68 B    | 3.2           | 0.2
	ember-data/serializers/embedded-records-mixin | 274.00 B  | 58.32 B    | 2.8           | 0.2
	ember-data/serializers/json-api               | 251.00 B  | 53.42 B    | 2.5           | 0.2
	ember-data/adapters/json-api                  | 245.00 B  | 52.14 B    | 2.5           | 0.1
	ember-data/serializers/json                   | 243.00 B  | 51.72 B    | 2.4           | 0.1
	ember-data/serializers/rest                   | 243.00 B  | 51.72 B    | 2.4           | 0.1
	ember-data/transform                          | 241.00 B  | 51.29 B    | 2.4           | 0.1
	ember-data/adapters/rest                      | 237.00 B  | 50.44 B    | 2.4           | 0.1
	ember-data/serializer                         | 232.00 B  | 49.38 B    | 2.3           | 0.1
	ember-data/adapter                            | 226.00 B  | 48.10 B    | 2.3           | 0.1
	ember-data/model                              | 222.00 B  | 47.25 B    | 2.2           | 0.1
	ember-data/attr                               | 218.00 B  | 46.40 B    | 2.2           | 0.1
	ember-data/initialize-store-service           | 207.00 B  | 44.06 B    | 2.1           | 0.1
	ember-data/version                            | 162.00 B  | 34.48 B    | 1.6           | 0.1

Package: ember-inflector
┌──────────────┬───────────┐
│   (index)    │  Values   │
├──────────────┼───────────┤
│    bytes     │ '7.90 KB' │
│  compressed  │ '1.68 KB' │
│ % Of Library │   '4.9'   │
└──────────────┴───────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	ember-inflector/lib/system/inflector          | 2.75 KB   | 599.60 B   | 34.8          | 1.7
	ember-inflector/lib/system/inflections        | 1.57 KB   | 342.69 B   | 19.9          | 1.0
	ember-inflector/index                         | 1.12 KB   | 244.35 B   | 14.2          | 0.7
	ember-inflector/lib/ext/string                | 783.00 B  | 166.66 B   | 9.7           | 0.5
	ember-inflector/lib/system                    | 452.00 B  | 96.20 B    | 5.6           | 0.3
	ember-inflector/lib/system/string             | 351.00 B  | 74.71 B    | 4.3           | 0.2
	ember-inflector/lib/helpers/pluralize         | 348.00 B  | 74.07 B    | 4.3           | 0.2
	ember-inflector/lib/utils/make-helper         | 308.00 B  | 65.55 B    | 3.8           | 0.2
	ember-inflector/lib/helpers/singularize       | 271.00 B  | 57.68 B    | 3.4           | 0.2

Package: @ember-data/debug
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '2.68 KB'  │
│  compressed  │ '583.85 B' │
│ % Of Library │   '1.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/debug/index                       | 2.19 KB   | 477.64 B   | 81.8          | 1.4
	@ember-data/debug/setup                       | 499.00 B  | 106.21 B   | 18.2          | 0.3

Package: @ember/ordered-set
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '1.05 KB'  │
│  compressed  │ '229.45 B' │
│ % Of Library │   '0.7'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember/ordered-set/index                      | 1.05 KB   | 229.45 B   | 100.0         | 0.7

Package: @ember-data/unpublished-test-infra
┌──────────────┬────────────┐
│   (index)    │   Values   │
├──────────────┼────────────┤
│    bytes     │ '186.00 B' │
│  compressed  │ '39.59 B'  │
│ % Of Library │   '0.1'    │
└──────────────┴────────────┘
	Module                                        | Bytes     | Compressed | % of Package  | % Of Library
	-----------------------------------------------------------------------------------------------------
	@ember-data/unpublished-test-infra/version    | 186.00 B  | 39.59 B    | 100.0         | 0.1

@github-actions
Copy link

github-actions bot commented Nov 27, 2019

Performance Report for fe7aeb2

Relationship Analysis
                        -------------

__/\\\\\\\\\\\\\____/\\\\____________/\\\\____/\\\\\\\\\_____
 _\/\\\/////////\\\_\/\\\\\\________/\\\\\\__/\\\///////\\\___
  _\/\\\_______\/\\\_\/\\\//\\\____/\\\//\\\_\///______\//\\\__
   _\/\\\\\\\\\\\\\/__\/\\\\///\\\/\\\/_\/\\\___________/\\\/___
    _\/\\\/////////____\/\\\__\///\\\/___\/\\\________/\\\//_____
     _\/\\\_____________\/\\\____\///_____\/\\\_____/\\\//________
      _\/\\\_____________\/\\\_____________\/\\\___/\\\/___________
       _\/\\\_____________\/\\\_____________\/\\\__/\\\\\\\\\\\\\\\_
        _\///______________\///______________\///__\///////////////__


                          Runtime Edition

        PM2 is a Production Process Manager for Node.js applications
                     with a built-in Load Balancer.

                Start and Daemonize any application:
                $ pm2 start app.js

                Load Balance 4 instances of api.js:
                $ pm2 start api.js -i 4

                Monitor in production:
                $ pm2 monitor

                Make pm2 auto-boot at server restart:
                $ pm2 startup

                To go further checkout:
                http://pm2.io/


                        -------------

[PM2] Spawning PM2 daemon with pm2_home=/home/runner/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /home/runner/work/data/data/bin/relationship-performance-tracking/src/har-remix.js in fork_mode (1 instance)
[PM2] Done.
┌─────┬──────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name     │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼──────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ control  │ default     │ N/A     │ fork    │ 2926     │ 0s     │ 0    │ online    │ 0%       │ 33.8mb   │ runner   │ disabled │
└─────┴──────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[PM2] Starting /home/runner/work/data/data/bin/relationship-performance-tracking/src/har-remix.js in fork_mode (1 instance)
[PM2] Done.
┌─────┬─────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name        │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼─────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ control     │ default     │ N/A     │ fork    │ 2926     │ 0s     │ 0    │ online    │ 0%       │ 69.3mb   │ runner   │ disabled │
│ 1   │ experiment  │ default     │ N/A     │ fork    │ 2951     │ 0s     │ 0    │ online    │ 0%       │ 27.7mb   │ runner   │ disabled │
└─────┴─────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
Computing results...


┌───────────────────────────────────────────────────────────────────────┐
│ Initial Render : duration                                             │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ Control: 60                  │
│ Sample Counts:                         ├──────────────────────────────┤
│                                        │ Experiment: 60               │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 1785ms                  │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 2041ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 1823ms                 │
│                                        ├──────────────────────────────┤
│ Control Seven Figure Summary:          │ 25th: 1846ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 1898ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 1953ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 1995ms                 │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 1785ms                  │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 2033ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 1841ms                 │
│                                        ├──────────────────────────────┤
│ Experiment Seven Figure Summary:       │ 25th: 1867ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 1894ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 1925ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 1960ms                 │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Hodges–Lehmann estimated delta:        │ -6ms                         │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ 95% confident the delta is between:    │ -28ms to 16ms                │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Is Significant:                        │ false                        │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Control Sparkline                      │ ▁▃▅▃▂█▅▂▄▃▂▃▁▁               │
├────────────────────────────────────────┼──────────────────────────────┤
│ Experiment Sparkline                   │ ▁▁▂▅▅█▅▄▃▂▁▁▂▁               │
└────────────────────────────────────────┴──────────────────────────────┘


┌───────────────────────────────────────────────────────────────────────┐
│ Sub Phase of Duration : start-find-all                                │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ Control: 60                  │
│ Sample Counts:                         ├──────────────────────────────┤
│                                        │ Experiment: 60               │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 1261ms                  │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 1491ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 1303ms                 │
│                                        ├──────────────────────────────┤
│ Control Seven Figure Summary:          │ 25th: 1316ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 1348ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 1389ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 1438ms                 │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 1260ms                  │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 1528ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 1313ms                 │
│                                        ├──────────────────────────────┤
│ Experiment Seven Figure Summary:       │ 25th: 1334ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 1358ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 1389ms                 │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 1410ms                 │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Hodges–Lehmann estimated delta:        │ 5ms                          │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ 95% confident the delta is between:    │ -13ms to 22ms                │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Is Significant:                        │ false                        │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Control Sparkline                      │ ▁▃█▆▆▆▄▂▄▂▁▂▁▁               │
├────────────────────────────────────────┼──────────────────────────────┤
│ Experiment Sparkline                   │ ▂▂▄▄█▅▅▄▁▂▁▁▁▁               │
├────────────────────────────────────────┴──────────────────────────────┤
│ Sub Phase of Duration : start-outer-materialization                   │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ Control: 60                  │
│ Sample Counts:                         ├──────────────────────────────┤
│                                        │ Experiment: 60               │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 467ms                   │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 627ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 490ms                  │
│                                        ├──────────────────────────────┤
│ Control Seven Figure Summary:          │ 25th: 498ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 512ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 532ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 582ms                  │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 470ms                   │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 604ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 484ms                  │
│                                        ├──────────────────────────────┤
│ Experiment Seven Figure Summary:       │ 25th: 495ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 507ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 524ms                  │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 578ms                  │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Hodges–Lehmann estimated delta:        │ -6ms                         │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ 95% confident the delta is between:    │ -15ms to 3ms                 │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Is Significant:                        │ false                        │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Control Sparkline                      │ ▂▅█▅▂▁▂▁▂                    │
├────────────────────────────────────────┼──────────────────────────────┤
│ Experiment Sparkline                   │ ▂▆█▄▁▁▂▁▁                    │
├────────────────────────────────────────┴──────────────────────────────┤
│ Sub Phase of Duration : stop-outer-materialization                    │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ Control: 60                  │
│ Sample Counts:                         ├──────────────────────────────┤
│                                        │ Experiment: 60               │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 0ms                     │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 0ms                     │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 0ms                    │
│                                        ├──────────────────────────────┤
│ Control Seven Figure Summary:          │ 25th: 0ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 0ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 0ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 0ms                    │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 0ms                     │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 0ms                     │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 0ms                    │
│                                        ├──────────────────────────────┤
│ Experiment Seven Figure Summary:       │ 25th: 0ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 0ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 0ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 0ms                    │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Hodges–Lehmann estimated delta:        │ 0ms                          │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ 95% confident the delta is between:    │ 0ms to 0ms                   │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Is Significant:                        │ false                        │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Control Sparkline                      │ ▁█▅▃▁▁▂▁▁▁▁▁                 │
├────────────────────────────────────────┼──────────────────────────────┤
│ Experiment Sparkline                   │ ▁█▄▃▁▁▁▁▁▁▁▁                 │
├────────────────────────────────────────┴──────────────────────────────┤
│ Sub Phase of Duration : end-find-all                                  │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ Control: 60                  │
│ Sample Counts:                         ├──────────────────────────────┤
│                                        │ Experiment: 60               │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 20ms                    │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 38ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 21ms                   │
│                                        ├──────────────────────────────┤
│ Control Seven Figure Summary:          │ 25th: 21ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 22ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 24ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 32ms                   │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│                                        │ MIN: 20ms                    │
│                                        ├──────────────────────────────┤
│                                        │ MAX: 36ms                    │
│                                        ├──────────────────────────────┤
│                                        │ 10th: 20ms                   │
│                                        ├──────────────────────────────┤
│ Experiment Seven Figure Summary:       │ 25th: 21ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 50th: 22ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 75th: 23ms                   │
│                                        ├──────────────────────────────┤
│                                        │ 90th: 24ms                   │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Hodges–Lehmann estimated delta:        │ 0ms                          │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ 95% confident the delta is between:    │ -1ms to 0ms                  │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Is Significant:                        │ false                        │
├────────────────────────────────────────┴──────────────────────────────┤
│                                                                       │
├────────────────────────────────────────┬──────────────────────────────┤
│ Control Sparkline                      │ █▄▂▁▁▁▁▁▁                    │
├────────────────────────────────────────┼──────────────────────────────┤
│ Experiment Sparkline                   │ █▇▂▁▁▁▁▁▁                    │
└────────────────────────────────────────┴──────────────────────────────┘

    =========== Benchmark Results Summary ===========    
Red color means there was a regression. Green color means there was an improvement. You can view more statistical details about the phases above.

duration phase has no difference. 

start-find-all phase has no difference. 

start-outer-materialization phase has no difference. 

stop-outer-materialization phase has no difference. 

end-find-all phase has an estimated difference of -0ms. 

[PM2] [v] Modules Stopped
[PM2] Applying action deleteProcessId on app [all](ids: [ 0, 1 ])
[PM2] [control](0) ✓
[PM2] [experiment](1) ✓
[PM2] [v] All Applications Stopped
[PM2] [v] PM2 Daemon Stopped

@runspired runspired changed the title improve comment bot [CHORE] improve comment bot Nov 27, 2019
- changes the comment-bot to update existing comments instead of deleting old comments
- fixes the bug that was preventing deletion of old comments
- fixes the performance analysis script to also post a comment correctly (it's been failing to do so although trying for some time)

You can see the effects of the updates (edit history on the pr comments) within this PR. Overall it seems like a good change, although I dislike how the comment time stamp remains the time of the very original comment instead of showing the time edited. This makes it harder to judge quickly if it is the most recent analysis, although checking the commit sha that is printed will verify.
@runspired runspired moved this from In Development to In Review in Continuous Integration Nov 28, 2019
@runspired runspired requested a review from igorT November 28, 2019 00:05
Continuous Integration automation moved this from In Review to Ready To Ship Nov 28, 2019
@runspired runspired removed the request for review from igorT November 28, 2019 00:53
@runspired
Copy link
Contributor Author

Ilios failure seems to be due to them having merged a bad PR

@runspired
Copy link
Contributor Author

cc @jrjohnson

@runspired runspired merged commit 6297384 into master Nov 28, 2019
Continuous Integration automation moved this from Ready To Ship to Completed Nov 28, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix/comment-bot branch November 28, 2019 00:55
@jrjohnson
Copy link
Sponsor Contributor

Thanks for the heads up @runspired looks like we have a floating dependency with a breaking change. It's our own package so entirely my fault. I'll get that cleaned up ASAP.

@@ -33,9 +33,10 @@ API_VERSION=v3
API_HEADER="Accept: application/vnd.github.${API_VERSION}+json; application/vnd.github.antiope-preview+json"
AUTH_HEADER="Authorization: token ${GITHUB_TOKEN}"

delete_comment_if_exists() {
update_comment_if_exists() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR but as these grow/become more complicated should we rewrite them in js?

@@ -46,15 +47,19 @@ delete_comment_if_exists() {
# We have found our comment.
# Delete it.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover old comment

}

post_comment() {
echo "Posting new comment"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@igorT
Copy link
Member

igorT commented Dec 1, 2019

My gmail sends many ❤️

@runspired runspired added Infra/CI/DX and removed CI labels Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infra/CI/DX 🏷️ chore This PR primarily refactors code or updates dependencies
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants