Updating example to add more profiling options.