Skip to content

[perf-improver] perf: reduce allocations in RandomSamplingAmortizedFacets.GetAllDims #55

[perf-improver] perf: reduce allocations in RandomSamplingAmortizedFacets.GetAllDims

[perf-improver] perf: reduce allocations in RandomSamplingAmortizedFacets.GetAllDims #55

# gh-aw-commands: {"payload_version":"v1","schema_version":"v1","compiler_version":"v0.87.2","commands":["perf-assist"],"workflows":["perf-improver"]}
# Routing summary (sorted):
# slash commands:
# /perf-assist -> perf-improver [discussion,discussion_comment,issue_comment,issues,pull_request,pull_request_comment,pull_request_review_comment] reaction=eyes
# labels:
# (none)
# This file was automatically generated by gh-aw (v0.87.2). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
#
# ___ _ _
# / _ \ | | (_)
# | |_| | __ _ ___ _ __ | |_ _ ___
# | _ |/ _` |/ _ \ '_ \| __| |/ __|
# | | | | (_| | __/ | | | |_| | (__
# \_| |_/\__, |\___|_| |_|\__|_|\___|
# __/ |
# _ _ |___/
# | | | | / _| |
# | | | | ___ _ __ _ __| |_| | _____ ____
# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___|
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
#
#
# To regenerate this workflow, run:
# gh aw compile
# Not all edits will cause changes to this file.
#
# For more information: https://github.github.com/gh-aw/introduction/overview/
#
name: "Agentic Commands"
on:
issues:
types: [edited, opened, reopened]
issue_comment:
types: [created, edited]
pull_request:
types: [edited, opened, reopened]
pull_request_review_comment:
types: [created, edited]
discussion:
types: [created, edited]
discussion_comment:
types: [created, edited]
permissions: {}
jobs:
route:
runs-on: ubuntu-slim
timeout-minutes: 15
permissions:
actions: write
contents: read
issues: write
pull-requests: write
discussions: write
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Scripts
uses: github/gh-aw-actions/setup@b304200a0ef4b3998673bfc7945acb08ab8c88b7 # v0.87.2
with:
destination: ${{ runner.temp }}/gh-aw/actions
- name: Route slash command
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
# runner-guard:ignore RGS-016 -- routing tables below contain emoji variation selectors (U+FE0F) and zero-width joiners (U+200D) used to render standard emoji sequences, not steganographic payloads.
env:
GH_AW_SLASH_ROUTING: '{"perf-assist":[{"workflow":"perf-improver","events":["discussion","discussion_comment","issue_comment","issues","pull_request","pull_request_comment","pull_request_review_comment"],"ai_reaction":"eyes","status_comment":true}]}'
GH_AW_LABEL_ROUTING: '{}'
GH_AW_HELP_COMMANDS: '[{"command":"perf-assist","description":"A performance-focused repository assistant that runs regularly (daily by default) to identify and implement performance improvements.\nCan also be triggered on-demand via ''/perf-assist \u003cinstructions\u003e'' to perform specific tasks.\n- Discovers and validates build, test, and benchmark commands for the repository\n- Identifies performance bottlenecks and optimization opportunities\n- Implements performance improvements with measured impact\n- Maintains performance-related PRs when CI fails or conflicts arise\n- Records performance techniques and learnings in persistent memory\n- Updates a monthly activity summary for maintainer visibility\nAlways methodical, measurement-driven, and mindful of trade-offs.","centralized":true,"decentralized":false,"source_file":"perf-improver"}]'
GH_AW_HELP_COMMAND_ENABLED: 'true'
GH_AW_SLASH_COMMAND_DOCS_URL: 'https://github.github.com/gh-aw/reference/command-triggers/'
with:
script: |
const path = require('path');
const actionsDir = path.join(process.env.RUNNER_TEMP, 'gh-aw', 'actions');
const { setupGlobals } = require(path.join(actionsDir, 'setup_globals.cjs'));
setupGlobals(core, github, context, exec, io, getOctokit);
const { main } = require(path.join(actionsDir, 'route_slash_command.cjs'));
await main();