Benchmarking creation of strings and dictionaries using different methods.