|  | @@ -38,10 +38,10 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 38 | 38 |          $phpMemoryLimit = $this->memoryLimit(); | 
                                                                                                            
                                                            | 39 | 39 |          if ($phpMemoryLimit && !empty($this->sample->craftTotalMemory)) { | 
                                                                                                            
                                                            | 40 | 40 |              $ratio = $phpMemoryLimit / $this->sample->craftTotalMemory; | 
                                                                                                            
                                                            | 41 |  | -            $displayCraftTotalMemory = (($this->sample->craftTotalMemory / 1024) / 1024) . 'M'; | 
                                                                                                            
                                                            | 42 |  | -            $displayPhpMemoryLimit = (($phpMemoryLimit / 1024) / 1024) . 'M'; | 
                                                                                                            
                                                            | 43 |  | -            $displayCraftMinMemory = ((self::MIN_CRAFT_MEMORY / 1024) / 1024) . 'M'; | 
                                                                                                            
                                                            | 44 |  | -            $displayCraftMaxMemory = ((self::MAX_CRAFT_MEMORY / 1024) / 1024) . 'M'; | 
                                                                                                            
                                                            |  | 41 | +            $displayCraftTotalMemory = (($this->sample->craftTotalMemory / 1024) / 1024).'M'; | 
                                                                                                            
                                                            |  | 42 | +            $displayPhpMemoryLimit = (($phpMemoryLimit / 1024) / 1024).'M'; | 
                                                                                                            
                                                            |  | 43 | +            $displayCraftMinMemory = ((self::MIN_CRAFT_MEMORY / 1024) / 1024).'M'; | 
                                                                                                            
                                                            |  | 44 | +            $displayCraftMaxMemory = ((self::MAX_CRAFT_MEMORY / 1024) / 1024).'M'; | 
                                                                                                            
                                                            | 45 | 45 |              $this->summary = Craft::t( | 
                                                                                                            
                                                            | 46 | 46 |                  'webperf', | 
                                                                                                            
                                                            | 47 | 47 |                  'Check the `memory_limit` setting in your `php.ini` file', | 
                                                                                                                                                        
                                                        |  | @@ -113,6 +113,6 @@  discard block | 
                                                    
                                                        |  |  |  block discarded – undo | 
                                                                                                                                                                                                                    
                                                            | 113 | 113 |              } | 
                                                                                                            
                                                            | 114 | 114 |          } | 
                                                                                                            
                                                            | 115 | 115 |   | 
                                                                                                            
                                                            | 116 |  | -        return (int)$memoryLimit; | 
                                                                                                            
                                                            |  | 116 | +        return (int) $memoryLimit; | 
                                                                                                            
                                                            | 117 | 117 |      } | 
                                                                                                            
                                                            | 118 | 118 |  } | 
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.