+
Skip to content

Conversation

yousif-bugsnag
Copy link
Contributor

Goal

Introduce a plugin mechanism that can be used to extend the functionality of the performance SDK.

Changeset

  • Introduced the BugsnagPerformancePlugin protocol and BugsnagPerformancePluginContext to allow plugins to register span callbacks and span control providers with the client
  • Added BSGPluginManager to handle plugin installation and initialization
  • Added addPlugin method to BugsnagPerformanceConfiguration
  • Updated BSGPrioritizedStore to prevent duplicate entries and support transactional batched updates

Testing

Added new E2E test scenarios

Copy link

BugsnagPerformance.framework binary size increased by 28,232 bytes from 631,728 to 659,960

    FILE SIZE        VM SIZE    
 --------------  -------------- 
   +24% +7.59Ki   +23% +7.59Ki    [__TEXT]
  +4.0% +6.30Ki  +4.0% +6.30Ki    String Table
  +3.6% +5.20Ki  +3.6% +5.20Ki    __TEXT,__text
  +3.9% +5.05Ki  +3.9% +5.05Ki    Symbol Table
  [ = ]       0   +63% +4.43Ki    [__LINKEDIT]
  +6.4% +1.66Ki  +6.4% +1.66Ki    __DATA,__objc_const
  +6.4% +1.23Ki  +6.4% +1.23Ki    __TEXT,__objc_methname
  +4.6%    +652  +4.6%    +652    __TEXT,__gcc_except_tab
  +3.9%    +608  +3.9%    +608    __TEXT,__objc_stubs
  +4.7%    +419  +4.7%    +419    __TEXT,__cstring
  +3.2%    +200  +3.2%    +200    __TEXT,__unwind_info
  +4.8%    +199  +4.8%    +199    [6 Others]
  +6.1%    +160  +6.1%    +160    __DATA,__objc_data
  +3.7%    +152  +3.7%    +152    __DATA,__objc_selrefs
  +2.5%    +144  +2.5%    +144    __DATA_CONST,__const
  +1.4%    +128  +1.4%    +128    __DATA_CONST,__cfstring
   +32%    +104   +32%    +104    Export Info
  +2.5%     +93  +2.5%     +93    __TEXT,__objc_methtype
  +4.7%     +64  +4.7%     +64    Rebase Info
 -38.3%    -288 -38.3%    -288    [__DATA_CONST]
 -16.0% -2.04Ki -16.2% -2.04Ki    [__DATA]
  +4.5% +27.6Ki  +5.1% +32.0Ki    TOTAL

Generated by 🚫 Danger

@yousif-bugsnag yousif-bugsnag changed the title Prevent adding elements to BSGPrioritizedStore through add block afte… Introduced BugsnagPerformancePlugin Jun 11, 2025
@yousif-bugsnag yousif-bugsnag force-pushed the feature/plat-PLAT-14239_plugin_structure branch from 0fcf0ec to b6f7844 Compare June 11, 2025 12:28
@yousif-bugsnag yousif-bugsnag merged commit b5c415b into next Jun 13, 2025
26 checks passed
@yousif-bugsnag yousif-bugsnag deleted the feature/plat-PLAT-14239_plugin_structure branch June 13, 2025 12:51
@DariaKunoichi DariaKunoichi mentioned this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载