See the table on this spreadsheet, which shows the lengths of all prorogations of Parliament from 1900 to 2017:
http://researchbriefings.files.parliament.uk/documents/LLN-2019-0111/LLN-2019-0111.xlsx
[NB: There's usually a relatively lengthy period of prorogation before a General Election. So, if you only want figures from when there was no General Election, the figures in column G should be ignored when 'Y' appears in Column E. You should also note that if a scheduled break in Parliamentary proceedings occurred at what would otherwise have been the end of a period of prorogation, then the prorogation will appear to be longer than usual because that break is then counted as part of the prorogued period].
You can match those figures to the relevant Prime Minister by referring to the list here:
https://simple.wikipedia.org/wiki/List_of_Prime_Ministers_of_the_United_Kingdom
Only the Monarch can prorogue Parliament. However, by convention, he/she 'acts upon the advice of his/her ministers', which in practice means that he/she automatically accedes to a request for prorogation from the PM.