Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Inspector = require('inspector-api')
- const inspector = new Inspector({
- storage: {
- type: 's3',
- bucket: 'testBucket',
- dir: 'inspector'
- }
- })
- await inspector.profiler.enable()
- await inspector.profiler.start()
- // Invoke business logic under measurement here...
- // some time later...
- await inspector.profiler.stop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement