Adding a --report <file> flag to the nextpnr command line causes it to generate a json file with the max clock frequency. This information is also avaialble in the nextpnr output when run in a verbose mode.
--report <file>