Similar Items: Worst-Case Input Generation for Concurrent Programs under Non-Monotone Resource Metrics