Repository navigation
2.0.1: Renamed tools, deeper analysis, and faster leaner responses #202
lcottercertinia
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
Upgrading from 1.x? Every tool is renamed, and
--allowed-orgsis gone. See Migrating from 1.x.Added
apexlog_get_summary(#62, #86, #108, #191)apexlog_list_slow_operationsandapexlog_list_limit_risks, so you can see what the log did not contain (#102, #138)apexlog_get_summary(#97, #100)apexlog_list_slow_operationsby namespace, caller namespace or debug log category, so you can see which package or which kind of work the time went to (#101, #126, #127, #131, #138)apexlog_list_slow_operations, not only by time (#99, #127, #138)apexlog_list_slow_operationsranked (#120)apexlog_execute_anonymousconnects, sets the trace flag, runs and writes, and report when the org logged at levels other than the ones asked for (#65)--no-apex-execution, which stopsapexlog_execute_anonymousrunning Apex while the log analysis tools keep working (#52)Changed
apexlog_prefix -analyze_apex_log_performanceis nowapexlog_list_slow_operations. Update your permission lists and prompts; the full mapping is in Migrating from 1.x (#107)apexlog_execute_anonymousfor production orgs or orgs whose type cannot be determined, unless you confirm. Clients name the org and show the Apex. Allow with--allow-production-orgs. Sandbox, scratch, trial and Developer orgs run unprompted (#52, #93)apexlog_list_slow_operationslist - queries, DML, callouts and the rest, not only methods, with repeats of the same name folded into one row, whereanalyze_apex_log_performancelisted the ten slowest single method calls (#86, #97, #108, #126)apexlog_get_summary, zeros included where 1.x reported only those above zero, and state each limit's unit (#62, #86, #108, #167)apexlog_list_limit_risksas one table, beside the threshold that selected it, in place of the four overlapping sections offind_performance_bottlenecks(#108)apexlog_list_limit_risksby 58%, andapexlog_list_slow_operations~2.2× smaller, returning fewer rows than asked for where the page would be too large, and stating how many rows matched (#63, #97, #108, #109, #120, #138)Fixed
apexlog_list_slow_operations, which were counted in the calling method's self time (#97, #138)apexlog_get_summaryandapexlog_list_limit_risks, which reported the usage the transaction ended on rather than its peak (#97)apexlog_get_summaryfor a log holding non-ASCII charactersapexlog_execute_anonymousmade, where the newest log for the user could be another process's (#65)apexlog_execute_anonymous, and warn whenoutputDirresolves outside every folder the client opened (#109)apexlog_execute_anonymousdestructive, so clients stop running it unprompted (#52)Removed
--allowed-orgsand its special tokens - the flag is accepted, ignored and warns, and the org's type decides instead (#52)analyze_apex_log_performance- an agent advises better from the numbers (#86)New Contributors
Full Changelog: 1.0.0...2.0.1
This discussion was created from the release 2.0.1: Renamed tools, deeper analysis, and faster leaner responses.
All reactions