()
| 76 | |
| 77 | //creating the quickrun script for blitzcache |
| 78 | let runspblitzcache = async () => { |
| 79 | let fileName = "exec_sp_blitzcache.sql"; |
| 80 | console.log('Preparing sample run script.'); |
| 81 | const scriptText = `EXEC [dbo].[sp_BlitzCache] |
| 82 | @SortOrder = 'reads', |
| 83 | -- CPU, executions, xpm, recent compilations, memory grant, writes, all |
| 84 | @Top = 10 |
| 85 | |
| 86 | -- for more info: https://www.brentozar.com/blitzcache/ |
| 87 | `; |
| 88 | new placeScript().placescript(fileName,scriptText); |
| 89 | }; |
| 90 | export let disposable_runspblitzcache = vscode.commands.registerCommand('extension.run_sp_blitzcache',runspblitzcache); |
| 91 | |
| 92 | //creating the quickrun script for blitzfirst |
nothing calls this directly
no test coverage detected