A first quick profiling script
More advanced features, not done yet