Actor picture

Compute Per Actor

mnmkng/compute-per-actor

This actor goes through your run history and calculates compute unit usage statistics per actor. This is useful to get an idea which of your actors would benefit the most from optimizations.

You need to have an Apify account with an API token.

  1. To run the actor from your program externally, copy-paste the code below into your program (based on programming language)

  2. Replace <YOUR_API_TOKEN> with your own token (you can find it here)

1
2
3
4
5
6
7
8
const Apify = require('Apify');

Apify.client.setOptions({ token: '<YOUR_API_TOKEN>' });

const run = await Apify.call('mnmkng/compute-per-actor', { });

console.log('Actor finished, here is the output:');
console.dir(run.output);
For further information, check out these resources
  • Modified
  • Last run
  • Used21 times
  • Used by4 users
Categories