profiling

Diagnose and optimize brepkit CAD operation performance with cargo benchmarks.

20|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/andymai/brepkit --skill profiling-andymai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: profiling
Source: https://github.com/andymai/brepkit/tree/main/.claude/skills/profiling
Command: npx skills add https://github.com/andymai/brepkit --skill profiling-andymai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides tools and methods to diagnose and improve the performance of operations within the brepkit software, addressing issues like slow operations, benchmark timeouts, and performance regressions.

Core Features & Use Cases

  • Benchmarking: Offers a suite of benchmarks for various operations within brepkit.
  • Profiling: Provides profiling tools to analyze performance bottlenecks.
  • Cross-Kernel Comparison: Enables comparison with the reference kernel to ensure performance improvements.
  • Use Case: If you encounter a performance issue in brepkit, such as a slow boolean operation, this Skill can help identify the problem and guide you through the process of optimizing it.

Quick Start

Run the profiling benchmark for a specific operation: cargo bench -p brepkit-operations --bench <bench_name>.

Frequently Asked Questions about profiling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify bottlenecks in slow CAD boolean operations?

To identify bottlenecks in slow CAD boolean operations, you can use profiling tools to analyze performance issues within brepkit, isolating the specific functions causing delays during the execution process.

How do I run a benchmark for brepkit tessellation processes?

You can run a benchmark for brepkit tessellation processes by executing the cargo bench command: `cargo bench -p brepkit-operations --bench <bench_name>` to measure and evaluate performance metrics.

What do I need to install before profiling brepkit performance?

Before profiling brepkit performance, you need to ensure that both cargo and brepkit are installed in your environment, as these are required dependencies for running benchmarks and analyzing operations.

Can I compare performance results against a reference kernel?

Yes, you can compare performance results against a reference kernel using the cross-kernel comparison feature, which enables you to evaluate benchmark results and ensure performance improvements are validated.

What is the best way to diagnose brepkit benchmark timeouts?

The best way to diagnose brepkit benchmark timeouts is to apply profiling tools to the specific operation timing out, allowing you to pinpoint the performance regression or slow process causing the failure.